-// cs1604: Cannot assign to this
-// Line:
-class X {
- void A ()
- {
- this = null;
- }
-}
+// cs1604.cs: Cannot assign to 'this' because it is read-only
+// Line: 8
+
+class C
+{
+ public void Main ()
+ {
+ this = null;
+ }
+}
\ No newline at end of file