[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / gtest-639.cs
blobafc0b2004a2e0fbcbdfc017b16f67a4de53a1a3e
1 class A<T> where T : CB, IA
3 void Foo (T t)
5 t.Prop = 3;
6 long l = t.Prop2;
7 t["1"] = "2";
11 class A2<T, U>
12 where T : CB, U
13 where U : IA
15 void Foo (T t)
17 t.Prop = 3;
18 long l = t.Prop2;
19 t["1"] = "2";
23 class CB : CA
27 class CA
29 public int Prop { get; set; }
31 public string this [byte b] { get { return ""; } }
34 interface IA
36 string Prop { get; set; }
37 long Prop2 { get; }
39 string this [string b] { get; set; }
42 class X
44 public static void Main ()