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>2003-02-26 06:37:58 +0300
committerMiguel de Icaza <miguel@gnome.org>2003-02-26 06:37:58 +0300
commit99d0fb74a314fd52b82197af634ddac57e675c76 (patch)
tree14d163378c839fb0a7a1af63211810c6ba3ee9df /mcs/errors/cs1502.cs
parente97d71bc9811185b824d4c317187bb1f81b64adf (diff)
Add new error
svn path=/trunk/mcs/; revision=11978
Diffstat (limited to 'mcs/errors/cs1502.cs')
-rw-r--r--mcs/errors/cs1502.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs1502.cs b/mcs/errors/cs1502.cs
new file mode 100644
index 00000000000..cf646b59619
--- /dev/null
+++ b/mcs/errors/cs1502.cs
@@ -0,0 +1,14 @@
+// cs1502.cs: The method has incorrect arguments, passing out to something expecting ref
+// Line: 8
+class X {
+ public void foo (ref int blah) {}
+
+ public void bar (ref int baz)
+ {
+ foo(out baz);
+ }
+
+ static void Main ()
+ {
+ }
+}