From: Marek Safar Date: Wed, 30 Jun 2010 14:51:01 +0000 (-0000) Subject: Fixed. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=a4d24d94bacfa0a9baa87ad82cc39a601e5ce937;p=mono.git Fixed. svn path=/trunk/mcs/; revision=159733 --- a4d24d94bacfa0a9baa87ad82cc39a601e5ce937 diff --cc mcs/errors/cs0572-2.cs index 00000000000,00000000000..f420cd9c8a7 new file mode 100644 --- /dev/null +++ b/mcs/errors/cs0572-2.cs @@@ -1,0 -1,0 +1,14 @@@ ++// CS0572: `meth': cannot reference a type through an expression; try `test.meth' instead ++// Line: 8 ++ ++class test2 : test { ++ int meth( bool b ) ++ { ++ return 1; ++ base.meth (true); ++ } ++} ++ ++abstract class test { ++ public delegate void meth( bool b ) ; ++} diff --cc mcs/errors/cs0582-2.cs index 23c9381773a,23c9381773a..00000000000 deleted file mode 100644,100644 --- a/mcs/errors/cs0582-2.cs +++ /dev/null @@@ -1,14 -1,14 +1,0 @@@ --// cs0582.cs: meth: Can not reference a type through an expression, try `test.meth' instead --// Line: 8 -- --class test2 : test { -- int meth( bool b ) -- { -- return 1; -- base.meth (true); -- } --} -- --abstract class test { -- public delegate void meth( bool b ) ; --}