fixed wrong errors
[mono.git] / mcs / errors / cs0123.cs
1 // cs0123.cs: Method 'MainClass.Delegate()' does not match delegate 'void TestDelegate()'\r
2 // Line: 12\r
3 \r
4 delegate int TestDelegate(bool b);\r
5 \r
6 public class MainClass {\r
7         public static int Delegate() {\r
8                 return 0;\r
9         }\r
10 \r
11         public static void Main() {\r
12                 TestDelegate delegateInstance = new TestDelegate (Delegate);\r
13        }\r
14 }\r