5 public virtual void Dyn (out dynamic o
)
13 public override void Dyn (out dynamic o
)
21 public void Method_A (ref int i
)
25 public void Method_B (ref dynamic i
)
29 public static int M (string a
, string b
)
34 public static int M (ref object o
, out dynamic d
)
43 public static int Foo (dynamic d
)
48 public static int Foo (params object[] o
)
56 public static int Foo (int i
, dynamic d
)
61 public static int Foo (double d
, object i
)
69 static void DynOut (out dynamic d
)
74 static void DynRef (ref object d
)
79 static int DynParams (int a
, int b
, params int[] arr
)
84 void TestErrorVersions ()
92 public static int Main ()
102 // This should not involve runtime binder
103 if (C
.M (ref d1
, out d2
) != 1)
108 if (DynParams (1, 2, d3
, d4
) != -7)
111 if (DynParams (1, 2, 3, d4
) != -7)
118 if (E
.Foo (0, 0) != 1)