Author: marek
Date: 2007-02-18 09:17:08 -0500 (Sun, 18 Feb 2007)
New Revision: 73080

Added:
   trunk/mcs/errors/cs0658-2.cs
Modified:
   trunk/mcs/errors/cs0658.cs
Log:
New tests.

Added: trunk/mcs/errors/cs0658-2.cs
===================================================================
--- trunk/mcs/errors/cs0658-2.cs        2007-02-18 14:16:46 UTC (rev 73079)
+++ trunk/mcs/errors/cs0658-2.cs        2007-02-18 14:17:08 UTC (rev 73080)
@@ -0,0 +1,11 @@
+// CS0658: `class' is invalid attribute target. All attributes in this 
attribute section will be ignored
+// Line : 8
+// Compiler options: -warnaserror -warn:1
+
+using System;
+
+[class:Serializable]
+public class C
+{
+    public static void Main () {}
+}


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

Modified: trunk/mcs/errors/cs0658.cs
===================================================================
--- trunk/mcs/errors/cs0658.cs  2007-02-18 14:16:46 UTC (rev 73079)
+++ trunk/mcs/errors/cs0658.cs  2007-02-18 14:17:08 UTC (rev 73080)
@@ -1,5 +1,5 @@
-// cs0658.cs: `blah' is an invalid attribute target
-// Line : 8
+// CS0658: `blah' is invalid attribute target. All attributes in this 
attribute section will be ignored
+// Line : 9
 // Compiler options: -warnaserror -warn:1
 
 public class MyClass {

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

Reply via email to