X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs0119.cs;h=156d53bfb0cf193b3462666baa1258cd99dbd75e;hb=38bf98614251a8b8a1e7dd06e59b17ff2f956305;hp=ff62015ddefcfaf49f32364a057e886946823860;hpb=4eb352bcb3ef7a71dc9ab62c5cd2d5e7598619f7;p=mono.git diff --git a/mcs/errors/cs0119.cs b/mcs/errors/cs0119.cs index ff62015ddef..156d53bfb0c 100644 --- a/mcs/errors/cs0119.cs +++ b/mcs/errors/cs0119.cs @@ -1,16 +1,10 @@ -// cs0119.cs: Expression denotes a `method group', where a `variable', `value' or `type' was expected -// Line: 14 +// CS0119: Expression denotes a `type parameter', where a `variable', `value' or `type' was expected +// Line: 8 -using System; - -public class Test +class C { - public static void E () - { - } - - public static void Main () - { - Console.WriteLine(E.x); - } + static void Foo () + { + T.ToString (); + } }