Merge pull request #3586 from henricm/fix-win-uri-tests
[mono.git] / mcs / errors / cs0119.cs
index ff62015ddefcfaf49f32364a057e886946823860..156d53bfb0cf193b3462666baa1258cd99dbd75e 100644 (file)
@@ -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> ()
+       {
+               T.ToString ();
+       }
 }