Align libmonoruntime vcxproj with makefile.
[mono.git] / mcs / errors / cs0123-2.cs
1 // CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters
2 // Line: 17
3
4 delegate IA TestDelegate(bool b);
5
6 interface IA {}
7
8 public class MainClass : IA
9 {
10         static MainClass Delegate()
11         {
12                 return null;
13         }
14
15         public static void Main()
16         {
17                 TestDelegate delegateInstance = new TestDelegate (Delegate);
18         }
19 }
20