Merge pull request #4615 from alexanderkyte/string_error_handling
[mono.git] / mcs / errors / cs1501-10.cs
index 62275ac2a0704a302e4b9097acd499b70b6760a6..6969803066d5b8b75bfc05170b14013d6d639373 100644 (file)
@@ -1,15 +1,15 @@
-// cs1501-10.cs: No overload for method `Base' takes `0' arguments
-// Line: 12
-class Base {
-       Base (string x)
+// CS1501: No overload for method `TestCall' takes `1' arguments
+// Line: 13
+
+class C
+{
+       static void TestCall (byte b, int a)
        {
        }
-}
-
-// Notice how there is no invocation to "base (something)"
 
-class Derived : Base {
-       Derived ()
+       public static void Main ()
        {
+               dynamic d = 0;
+               TestCall (d);
        }
 }