Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>2002-11-29 20:38:52 +0300
committerJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>2002-11-29 20:38:52 +0300
commit0bde16873f56a8c4c537db71f8fd93f8bcb2aa09 (patch)
tree8806d4fac7cabe8ece177ada98b1d39dcd873272 /mcs/errors/cs3005.cs
parent31b48cf5c88b7c8e658d4013e24ab460e6c719f1 (diff)
Added test for the Error CS3005
svn path=/trunk/mcs/; revision=9261
Diffstat (limited to 'mcs/errors/cs3005.cs')
-rw-r--r--mcs/errors/cs3005.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs3005.cs b/mcs/errors/cs3005.cs
new file mode 100644
index 00000000000..46c269a886a
--- /dev/null
+++ b/mcs/errors/cs3005.cs
@@ -0,0 +1,16 @@
+// cs3005: Identifier foo differing only in case is not CLS-Compliant.
+// Line: 13
+
+
+using System;
+
+class ErrorCS3005 {
+ public int FOO = 0;
+ public int foo = 1;
+
+ public static void Main ( ) {
+ ErrorCS3005 error = new ErrorCS3005 ();
+ Console.WriteLine ("This should make the compiler to complain ERROR CS3005, number: {0}", error.foo);
+ }
+}
+