2009-09-02 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0123-4.cs
blob1ef687e96174b8fb4f200ee615a18d47d5837b30
1 // CS0123: A method or delegate `TestDelegateA(bool)' parameters do not match delegate `TestDelegateB(int)' parameters
2 // Line: 12
4 delegate int TestDelegateA (bool b);
5 delegate int TestDelegateB (int b);
7 public class MainClass
9 public static int Delegate(bool b)
11 return 0;
14 public static void Main()
16 TestDelegateA a = new TestDelegateA (Delegate);
17 TestDelegateB b = new TestDelegateB (a);