svn path=/trunk/mcs/; revision=67048
--- /dev/null
+// CS0031: Constant value `42' cannot be converted to a `string'\r
+// Line: 5\r
+\r
+class A {\r
+ public static implicit operator string (A a) { return 42; }\r
+}\r
--- /dev/null
+// CS0122: `Test.A.B' is inaccessible due to its protection level\r
+// Line: 6\r
+\r
+namespace Test\r
+{\r
+ public sealed class A\r
+ {\r
+ private class B\r
+ {\r
+ public static void Method ()\r
+ {\r
+ }\r
+ }\r
+ }\r
+ \r
+ class MainClass\r
+ {\r
+ public static void Main(string[] args)\r
+ {\r
+ A.B.Method ();\r
+ }\r
+ }\r
+}\r
-// cs0131-2.cs: The left-hand side of an assignment or mutating operation must be a variable, property or indexer
+// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 10
using System;
-// cs0131-3.cs: The left-hand side of an assignment or mutating operation must be a variable, property or indexer
+// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 12
using System;
--- /dev/null
+// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer\r
+// Line: 8\r
+\r
+using System;\r
+\r
+public class Test {\r
+ void Main () {\r
+ Console.WriteLine (++0);\r
+ }\r
+}
\ No newline at end of file
-// cs0131.cs: The left-hand side of an assignment or mutating operation must be a variable, property or indexer
-// Line:
+// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
+// Line: 7
+
class X {
void A ()
{