2009-01-24 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / tests / gtest-182.cs
blob0adb189b82330bcb480990a889c6e706d5f1f034
1 interface IMember {
2 int GetId ();
5 interface IMethod : IMember { }
7 class C1 : IMethod
9 public int GetId () { return 42; }
12 class X {
13 static void foo<a> (a e )
14 where a : IMember
16 e.GetId ();
19 public static void Main ()
21 foo<IMethod> (new C1 ());