Author: marek
Date: 2007-11-22 04:57:07 -0500 (Thu, 22 Nov 2007)
New Revision: 90131

Added:
   trunk/mcs/errors/gcs0308-5.cs
   trunk/mcs/errors/gcs1644-12.cs
Modified:
   trunk/mcs/errors/gcs0307.cs
Log:
New tests, update.



Modified: trunk/mcs/errors/gcs0307.cs
===================================================================
--- trunk/mcs/errors/gcs0307.cs 2007-11-22 09:55:53 UTC (rev 90130)
+++ trunk/mcs/errors/gcs0307.cs 2007-11-22 09:57:07 UTC (rev 90131)
@@ -1,4 +1,4 @@
-// CS0307: `Get' cannot be used with type arguments
+// CS0307: The property `B.Get' cannot be used with type arguments
 // Line: 14
 public class B
 {

Added: trunk/mcs/errors/gcs0308-5.cs
===================================================================
--- trunk/mcs/errors/gcs0308-5.cs       2007-11-22 09:55:53 UTC (rev 90130)
+++ trunk/mcs/errors/gcs0308-5.cs       2007-11-22 09:57:07 UTC (rev 90131)
@@ -0,0 +1,14 @@
+// CS0308: The non-generic method `Foo' cannot be used with type arguments
+// Line: 12
+
+class X
+{
+       public void Foo ()
+       {
+       }
+       
+       void Test ()
+       {
+               Foo<int> ();
+       }
+}


Property changes on: trunk/mcs/errors/gcs0308-5.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/mcs/errors/gcs1644-12.cs
===================================================================
--- trunk/mcs/errors/gcs1644-12.cs      2007-11-22 09:55:53 UTC (rev 90130)
+++ trunk/mcs/errors/gcs1644-12.cs      2007-11-22 09:57:07 UTC (rev 90131)
@@ -0,0 +1,8 @@
+// CS1644: Feature `generics' cannot be used because it is not part of the C# 
1.0 language specification
+// Line: 5
+// Compiler options: -langversion:ISO-1
+
+class Stack < type >
+{
+}
+


Property changes on: trunk/mcs/errors/gcs1644-12.cs
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to