Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git] / mcs / errors / cs0123.cs
index 441189c02bf8f4cd3d300b4c19ad7fc173a26b38..1edde49065014cc66c1f6b9e043a079cbacff87f 100644 (file)
@@ -1,14 +1,15 @@
-// cs0123.cs: Method 'MainClass.Delegate()' does not match delegate 'void TestDelegate()'\r
-// Line: 12\r
-\r
-delegate void TestDelegate();\r
-\r
-public class MainClass {\r
-        public static int Delegate() {\r
-                return 0;\r
-        }\r
-\r
-        public static void Main() {\r
-                TestDelegate delegateInstance = new TestDelegate (Delegate);\r
-       }\r
-}\r
+// CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters
+// Line: 12
+
+delegate int TestDelegate(bool b);
+
+public class MainClass {
+        public static int Delegate() {
+                return 0;
+        }
+
+        public static void Main() {
+                TestDelegate delegateInstance = new TestDelegate (Delegate);
+       }
+}
+