Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-395.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1db10567a7a64cfc37b96b99fda434f6c28c567c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class RuleBuilder<T> where T : class {}

public interface IDynamicObject {
    RuleBuilder<T> GetRule<T>() where T : class;
}

public class RubyMethod : IDynamicObject {
    RuleBuilder<T> IDynamicObject.GetRule<T>() /* where T : class */ {
        return new RuleBuilder<T>();
    }
}

public class T {
	public static void Main ()
	{
	}
}