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:
authorMarek Safar <marek.safar@gmail.com>2005-04-26 11:10:37 +0400
committerMarek Safar <marek.safar@gmail.com>2005-04-26 11:10:37 +0400
commit6cf1f76689da4cab08327efac981fb85f6ad63db (patch)
tree59d298b7487b6a2368de571c5cb29458c24dcd80 /mcs/errors/cs3026.cs
parent61272c4c8d4e56caf1a1eb7e90b0e88ba6e87923 (diff)
new tests + update
svn path=/trunk/mcs/; revision=43580
Diffstat (limited to 'mcs/errors/cs3026.cs')
-rw-r--r--mcs/errors/cs3026.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs3026.cs b/mcs/errors/cs3026.cs
new file mode 100644
index 00000000000..0788725c7bd
--- /dev/null
+++ b/mcs/errors/cs3026.cs
@@ -0,0 +1,10 @@
+// cs3026.cs: CLS-compliant field 'Class.V' cannot be volatile
+// Line: 9
+// Compiler options: -warn:1 -warnaserror
+
+using System;
+[assembly: CLSCompliant (true)]
+
+public class Class {
+ protected volatile int V;
+}