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/cs3005-3.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/cs3005-3.cs')
-rw-r--r-- | mcs/errors/cs3005-3.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs3005-3.cs b/mcs/errors/cs3005-3.cs new file mode 100644 index 00000000000..0bfa09fe273 --- /dev/null +++ b/mcs/errors/cs3005-3.cs @@ -0,0 +1,16 @@ +// cs3005.cs: Identifier 'CLSClass.value' differing only in case is not CLS-compliant +// Line: 15 + +[assembly:System.CLSCompliant(true)] + +public class X { + public bool Value; +} + +public class Y: X { + private readonly bool vAalue; +} + +public class CLSClass: Y { + protected internal bool value; +}
\ No newline at end of file |