}
}
+class D
+{
+ public static int Foo (dynamic d)
+ {
+ return 1;
+ }
+
+ public static int Foo (params object[] o)
+ {
+ return 2;
+ }
+}
+
+class E
+{
+ public static int Foo (int i, dynamic d)
+ {
+ return 1;
+ }
+
+ public static int Foo (double d, object i)
+ {
+ return 2;
+ }
+}
+
class Program
{
static void DynOut (out dynamic d)
c.Method_B (d);
}
- static int Main ()
+ public static int Main ()
{
object o;
DynOut (out o);
if (DynParams (1, 2, 3, d4) != -7)
return 3;
+ d = 44;
+ if (D.Foo (d) != 1)
+ return 4;
+
+ if (E.Foo (0, 0) != 1)
+ return 5;
+
return 0;
}
}