In ilasm/tests:
[mcs.git] / errors / cs0123.cs
blob2209ba831abe1aed65b8492a2ba4c5893b7e65f9
1 // cs0123.cs: Method `int MainClass.Delegate()' does not match delegate `int TestDelegate(bool)'
2 // Line: 12
4 delegate int TestDelegate(bool b);
6 public class MainClass {
7 public static int Delegate() {
8 return 0;
11 public static void Main() {
12 TestDelegate delegateInstance = new TestDelegate (Delegate);