Remove code moved to shared partition
[mono-project.git] / mcs / errors / cs1502-6.cs
blob23d8e7e8deda35d131ce7af70b1970e915beda74
1 // CS1502: 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);