[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git] / mcs / tests / dtest-027.cs
blob9a97972897ac584efcfb398fcd6388f690884b40
1 class C
3 public int M (object d, long s)
5 return 1;
8 public int M (long s, object d)
10 return 2;
13 public int M (dynamic d, dynamic s)
15 return 3;
18 public int M2 (object d)
20 return 1;
23 public int M2 (byte s)
25 return 2;
29 public class Test
31 public static int Main ()
33 dynamic d = new C ();
34 byte s = 5;
35 object o = 2;
36 int v = d.M (s, o);
38 if (v != 2)
39 return 1;
41 v = d.M2 (1 + 3);
42 if (v != 2)
43 return 2;
45 return 0;