2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1502-6.cs
blob202bffa6a9ac2930bd6758b20e5851d226c5a546
1 // cs1502-6.cs: The best overloaded method match for `Test.Test(TestMethod2)' has some invalid arguments
2 // Line: 8
4 public class Test
6 void Foo ()
8 new Test (new TestMethod (Foo));
11 public Test (TestMethod2 test) {}
14 public delegate void TestMethod ();
15 public delegate void TestMethod2 (object o);