2010-06-14 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0123.cs
blob1edde49065014cc66c1f6b9e043a079cbacff87f
1 // CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters
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);