diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-01-07 19:35:35 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-01-07 19:35:35 +0300 |
commit | c6c9ec52224063c294e2a5b48825baf8ba7d86f0 (patch) | |
tree | 1ffbde8bd2744412feebc668b6e9372073a04349 /mcs/errors/cs3002-2.cs | |
parent | a57fcfad058aa0b811719b969230e86f2d0f18d6 (diff) |
Applied Patch from Marek Safar
svn path=/trunk/mcs/; revision=21822
Diffstat (limited to 'mcs/errors/cs3002-2.cs')
-rw-r--r-- | mcs/errors/cs3002-2.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/errors/cs3002-2.cs b/mcs/errors/cs3002-2.cs new file mode 100644 index 00000000000..7b989403475 --- /dev/null +++ b/mcs/errors/cs3002-2.cs @@ -0,0 +1,18 @@ +// cs3002-2.cs: Return type of 'CLSClass.Foo()' is not CLS-compliant +// Line: 13 + +using System; +[assembly:CLSCompliant(true)] + +public class CLSClass { + [CLSCompliant(false)] + public ulong Valid() { + return 1; + } + + protected internal ulong Foo() { + return 1; + } + + static void Main() {} +}
\ No newline at end of file |