diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-02-16 12:11:30 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-02-16 12:11:30 +0300 |
commit | 130f5dd764ddecbf7215ddbeb636677157526fe9 (patch) | |
tree | bf47b2b3e03c838299beb5cd9698117432e94f8d /mcs/errors/cs3006-1.cs | |
parent | 685d1d51c5c6033398fcae71ef1d7d394caae559 (diff) |
2004-02-16 Marek Safar <marek.safar@seznam.cz>
* cs3001-{7,8}.cs,
cs3005-(1-22}.cs,
cs3006-{1-6}.cs,
cs3012.cs,
cs3013.cs New error tests for CLS-compliance.
* cs186-2.cs,
cs0579-2.cs New error tests.
* makefile: Added CS3005-16-lib.cs and CS3013-module.cs as helpers for errors cs3005-16.cs and cs3013.cs.
svn path=/trunk/mcs/; revision=23119
Diffstat (limited to 'mcs/errors/cs3006-1.cs')
-rw-r--r-- | mcs/errors/cs3006-1.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs3006-1.cs b/mcs/errors/cs3006-1.cs new file mode 100644 index 00000000000..e0eded61e40 --- /dev/null +++ b/mcs/errors/cs3006-1.cs @@ -0,0 +1,13 @@ +// cs3006.cs: Overloaded method 'CLSClass.Test(int[,])' differing only in ref or out, or in array rank, is not CLS-compliant +// Line: 11 + +using System; +[assembly: CLSCompliant(true)] + +public class CLSClass { + public void Test(int[,,] b) { + } + + public void Test(int[,] b) { + } +} |