Merge pull request #472 from MelanieT/spmanager_fix
[mono.git] / mcs / tests / gtest-395.cs
1 public class RuleBuilder<T> where T : class {}
2
3 public interface IDynamicObject {
4     RuleBuilder<T> GetRule<T>() where T : class;
5 }
6
7 public class RubyMethod : IDynamicObject {
8     RuleBuilder<T> IDynamicObject.GetRule<T>() /* where T : class */ {
9         return new RuleBuilder<T>();
10     }
11 }
12
13 public class T {
14         public static void Main ()
15         {
16         }
17 }