2010-04-03 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1502-9.cs
blobf52ea8cf8e4ec1f44fe636c99afc390070c9a17b
1 // CS1502: The best overloaded method match for `X.M(string)' has some invalid arguments
2 // Line: 23
4 delegate void D1 (object o);
5 delegate void D2 ();
7 class C
9 public C (D1 d)
13 public C (D2 d)
18 class X
20 void Foo ()
22 new C (delegate (object state) {
23 M (1);
24 });
27 void M (string s)