X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs1502-6.cs;h=23d8e7e8deda35d131ce7af70b1970e915beda74;hb=a7c9e39f0f58a1dcd41475f5623f301f14e31da7;hp=0399b45135ddbd96b14bda84e8bb538f3b35f45f;hpb=da4f9e9b2afb23791029d0bb09d78b868aabd870;p=mono.git diff --git a/mcs/errors/cs1502-6.cs b/mcs/errors/cs1502-6.cs index 0399b45135d..23d8e7e8ded 100644 --- a/mcs/errors/cs1502-6.cs +++ b/mcs/errors/cs1502-6.cs @@ -1,15 +1,15 @@ -// cs1502-6.cs: The best overloaded method match for `Test.Test(TestMethod2)' has some invalid arguments -// Line: 8 - -public class Test -{ - void Foo () - { - new Test (new TestMethod (Foo)); - } - - public Test (TestMethod2 test) {} -} - -public delegate void TestMethod (); +// CS1502: The best overloaded method match for `Test.Test(TestMethod2)' has some invalid arguments +// Line: 8 + +public class Test +{ + void Foo () + { + new Test (new TestMethod (Foo)); + } + + public Test (TestMethod2 test) {} +} + +public delegate void TestMethod (); public delegate void TestMethod2 (object o); \ No newline at end of file