Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2001-12-10 04:25:29 +0300
committerMiguel de Icaza <miguel@gnome.org>2001-12-10 04:25:29 +0300
commit5ba31c7e3a9928761c12e0a0280e86576ed8fb4d (patch)
treea11fab2c9c3b53ddea3643ecb8dc5fa2e7410a62 /mcs/errors/cs1604.cs
parenta22d7c9dfb4062a69c2d8de81c5b89506873508b (diff)
More errors that we catch
svn path=/trunk/mcs/; revision=1549
Diffstat (limited to 'mcs/errors/cs1604.cs')
-rwxr-xr-xmcs/errors/cs1604.cs14
1 files changed, 10 insertions, 4 deletions
diff --git a/mcs/errors/cs1604.cs b/mcs/errors/cs1604.cs
index 5c6214972d7..1e87da758a1 100755
--- a/mcs/errors/cs1604.cs
+++ b/mcs/errors/cs1604.cs
@@ -1,8 +1,14 @@
-// cs1604: Cannot assign to this
-// Line:
+// cs1604.cs: m is a readonly variable
+// line: 10
+using System.IO;
+
class X {
- void A ()
+
+ static void Main ()
{
- this = null;
+ using (MemoryStream m = new MemoryStream ()){
+ m = null;
+ }
}
}
+