X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs1604.cs;h=9646df2ffdee5149ee3df60531bdf36bcce3a4e2;hb=58e09a9f69274086b4d2d60dfb41e0fcdd27be95;hp=5c6214972d78cde87a813e4a64a817d74d660baa;hpb=eeffa700cfcda5b8977beb45da24b24b4cabc011;p=mono.git diff --git a/mcs/errors/cs1604.cs b/mcs/errors/cs1604.cs old mode 100755 new mode 100644 index 5c6214972d7..9646df2ffde --- a/mcs/errors/cs1604.cs +++ b/mcs/errors/cs1604.cs @@ -1,8 +1,10 @@ -// 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