diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-09-03 20:22:19 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-09-03 20:22:19 +0400 |
commit | f11772adb6596f40438d4deec8494edcb17a4cc0 (patch) | |
tree | 0b70eb7460b747538b972224920cac5b9863bd63 /mcs/errors/cs3006-7.cs | |
parent | 2ccb3ff17823569f4cd1e009adfd5ca4647c7548 (diff) |
2004-09-03 Marek Safar <marek.safar@seznam.cz>
* 8 new error tests.
svn path=/trunk/mcs/; revision=33290
Diffstat (limited to 'mcs/errors/cs3006-7.cs')
-rw-r--r-- | mcs/errors/cs3006-7.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs3006-7.cs b/mcs/errors/cs3006-7.cs new file mode 100644 index 00000000000..fb07871f4fd --- /dev/null +++ b/mcs/errors/cs3006-7.cs @@ -0,0 +1,16 @@ +// cs3006.cs: Overloaded method 'CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant +// Line: 14 + +using System; +[assembly: CLSCompliant(true)] + +public class Base +{ + public void Test(int a) { + } +} + +public class CLSClass: Base { + public void Test(ref int b) { + } +} |