diff options
author | Miguel de Icaza <miguel@gnome.org> | 2003-02-26 06:37:58 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2003-02-26 06:37:58 +0300 |
commit | 99d0fb74a314fd52b82197af634ddac57e675c76 (patch) | |
tree | 14d163378c839fb0a7a1af63211810c6ba3ee9df /mcs/errors/cs1502.cs | |
parent | e97d71bc9811185b824d4c317187bb1f81b64adf (diff) |
Add new error
svn path=/trunk/mcs/; revision=11978
Diffstat (limited to 'mcs/errors/cs1502.cs')
-rw-r--r-- | mcs/errors/cs1502.cs | 14 |
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 () + { + } +} |