2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1502-6.cs
blob0399b45135ddbd96b14bda84e8bb538f3b35f45f
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);