2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git] / mcs / errors / cs0123.cs
blob12a862a57813b046035792bfe1db75f014ab608a
1 // CS0123: The method `MainClass.Delegate()' parameters do not match delegate `int 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);