Author: marek
Date: 2007-10-08 10:31:46 -0400 (Mon, 08 Oct 2007)
New Revision: 87097

Added:
   trunk/mcs/errors/cs1059-2.cs
   trunk/mcs/errors/cs1059.cs
Removed:
   trunk/mcs/errors/cs0131-4.cs
Log:
New tests.



Deleted: trunk/mcs/errors/cs0131-4.cs
===================================================================
--- trunk/mcs/errors/cs0131-4.cs        2007-10-08 14:31:12 UTC (rev 87096)
+++ trunk/mcs/errors/cs0131-4.cs        2007-10-08 14:31:46 UTC (rev 87097)
@@ -1,10 +0,0 @@
-// CS0131: The left-hand side of an assignment must be a variable, a property 
or an indexer
-// Line: 8
-
-using System;
-
-public class Test {
-       void Main () {
-               Console.WriteLine (++0);
-       }
-}
\ No newline at end of file

Copied: trunk/mcs/errors/cs1059-2.cs (from rev 87094, 
trunk/mcs/errors/cs0131-4.cs)
===================================================================
--- trunk/mcs/errors/cs0131-4.cs        2007-10-08 14:02:45 UTC (rev 87094)
+++ trunk/mcs/errors/cs1059-2.cs        2007-10-08 14:31:46 UTC (rev 87097)
@@ -0,0 +1,10 @@
+// CS1059: The operand of an increment or decrement operator must be a 
variable, property or indexer
+// Line: 8
+
+using System;
+
+public class Test {
+       void Main () {
+               Console.WriteLine (++0);
+       }
+}

Added: trunk/mcs/errors/cs1059.cs
===================================================================
--- trunk/mcs/errors/cs1059.cs  2007-10-08 14:31:12 UTC (rev 87096)
+++ trunk/mcs/errors/cs1059.cs  2007-10-08 14:31:46 UTC (rev 87097)
@@ -0,0 +1,11 @@
+// CS1059: The operand of an increment or decrement operator must be a 
variable, property or indexer
+// Line: 9
+
+static class C
+{
+       static void Foo()
+       {
+               const int uu = 1;
+               uu++;
+       }
+}
\ No newline at end of file


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

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

Reply via email to