2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0123-3.cs
bloba7289d82fac65d0916c2f0ff8a695e2a72aeac2a
1 // CS0123: A method or delegate `X.f1(int, object)' parameters do not match delegate `X.Function(int, int)' parameters
2 // Line: 13
4 using System;
6 class X
8 public delegate bool Function(int arg1, int arg2);
10 static void Main ()
12 Delegate [] d = new Delegate [] {
13 new Function (f1),
17 static bool f1 (int a, object b)
19 return false;