-// cs0149.cs: Method 'MainClass.Delegate()' does not match delegate 'void TestDelegate()'\r
-// Line: 8\r
-\r
-delegate void TestDelegate();\r
-\r
-public class MainClass {\r
- public static void Main() {\r
- TestDelegate delegateInstance = new TestDelegate (0);\r
- }\r
-}\r
+// CS0149: Method name expected
+// Line: 8
+
+delegate void TestDelegate();
+
+public class MainClass
+{
+ public static void Main ()
+ {
+ TestDelegate delegateInstance = new TestDelegate ();
+ }
+}