2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0123-2.cs
blob38d648d66ef7a8056528b826caf81b3b65241f6f
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);