{
Console.WriteLine ("Got static long: {0}", l);
}
+
+ static int MethodBest (short d)
+ {
+ return 1;
+ }
+
+ static int MethodBest (dynamic d)
+ {
+ return -1;
+ }
void test ()
{
foo_static (d);
}
- static void Main ()
+ public static int Main ()
{
new C ().test ();
+
+ if (MethodBest (1) != 1)
+ return 1;
+
+ return 0;
}
}