Bump mono-extensions to fix build break (#5677)
[mono.git] / mcs / errors / cs1501-5.cs
index f84ef83627cbc46c7ef981d26d1505965bef5cba..6a51f13592c8db1da9f9030bc078c55ca004a13e 100644 (file)
@@ -1,20 +1,15 @@
-// cs1501.cs : No overload for method `MyDelegate' takes `0' arguments
-// Line : 17
+// CS1501: No overload for method `Foo' takes `1' arguments
+// Line: 12
 
-public class Blah {
-
-       public delegate int MyDelegate (int i, int j);
-
-       public int Foo (int i, int j)
+public class Test
+{
+       static void Foo (int a, int b = 1, int c = 2)
        {
-               return i+j;
        }
-
+       
        public static void Main ()
        {
-               Blah i = new Blah ();
-
-               MyDelegate del = new MyDelegate ();
+               Foo (c : -1);
        }
 }