Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

18 lines
347 B
C#

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 ()
{
}
}