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>2002-01-16 04:38:39 +0300
committerMiguel de Icaza <miguel@gnome.org>2002-01-16 04:38:39 +0300
commit9bc926dcd1586244560d8aa6ae449f5fd118ac24 (patch)
treee68a7f487316e58f51aaa3a41ab03b4e8e0777d7 /mcs/errors/cs1510.cs
parent20bce169fa09b4b8f7cea78bc7d0c3d0a733e45c (diff)
Add more errors that we handle now
svn path=/trunk/mcs/; revision=1997
Diffstat (limited to 'mcs/errors/cs1510.cs')
-rwxr-xr-xmcs/errors/cs1510.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs1510.cs b/mcs/errors/cs1510.cs
new file mode 100755
index 00000000000..4feba3810f6
--- /dev/null
+++ b/mcs/errors/cs1510.cs
@@ -0,0 +1,13 @@
+// cs1510: an lvalue is required for ref or out argument
+// Line: 11
+class X {
+ public static void m (ref int i)
+ {
+ i++;
+ }
+
+ static void Main ()
+ {
+ m (ref 4);
+ }
+}