2005-08-18 Lluis Sanchez Gual <lluis@ximian.com>
[mono.git] / mcs / errors / cs0123.cs
1 // cs0123.cs: Method `int MainClass.Delegate()' does not match delegate `int TestDelegate(bool)'
2 // Line: 12
3
4 delegate int TestDelegate(bool b);
5
6 public class MainClass {
7         public static int Delegate() {
8                 return 0;
9         }
10
11         public static void Main() {
12                 TestDelegate delegateInstance = new TestDelegate (Delegate);
13        }
14 }
15