2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0123-2.cs
blobdf6ea72d7016b36790ac4deae25fec893dbbd4a3
1 // CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters
2 // Line: 17
4 delegate IA TestDelegate(bool b);
6 interface IA {}
8 public class MainClass : IA
10 static MainClass Delegate()
12 return null;
15 public static void Main()
17 TestDelegate delegateInstance = new TestDelegate (Delegate);