[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git] / mcs / tests / test-722.cs
bloba8807033d34fdc36d588085f222145d8afd4d64e
1 interface IA
5 interface IF : IA
7 int Prop { set; }
10 struct S : IF
12 int prop;
14 public S (int a)
16 this.prop = 5;
19 public int Prop {
20 set {
21 prop = value;
25 void M<T> (T ia) where T : struct, IA
27 ((IF)ia).Prop = 3;
30 public static void Main ()
32 S s = new S ();
33 object o = s;
34 ((IF)((S)o)).Prop = 3;
36 IA ia = new S ();
37 ((IF)ia).Prop = 3;