Reverted
[mono.git] / mcs / errors / cs1502-6.cs
1 // cs1502-6.cs: The best overloaded method match for `Test.Test(TestMethod2)' has some invalid arguments\r
2 // Line: 8\r
3 \r
4 public class Test\r
5 {\r
6         void Foo ()\r
7         {\r
8                 new Test (new TestMethod (Foo));\r
9         }\r
10 \r
11         public Test (TestMethod2 test) {}\r
12 }\r
13 \r
14 public delegate void TestMethod ();\r
15 public delegate void TestMethod2 (object o);