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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2001-11-11 11:01:48 +0300
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2001-11-11 11:01:48 +0300
commit2a7159dbd8ce4a1adbf1a1e3e440de202196819c (patch)
treef2edd61005372c2cdff9a84ce08d0faca3a72e46 /mcs/errors/cs0031.cs
parent2bb46acd328f46799cb77f5299ed7e8bae3613db (diff)
Add files for the new errors we catch.
svn path=/trunk/mcs/; revision=1322
Diffstat (limited to 'mcs/errors/cs0031.cs')
-rw-r--r--mcs/errors/cs0031.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs0031.cs b/mcs/errors/cs0031.cs
new file mode 100644
index 00000000000..c79ba6975de
--- /dev/null
+++ b/mcs/errors/cs0031.cs
@@ -0,0 +1,14 @@
+// cs0031.cs : Constant value '256' cannot be converted to a byte
+// Line : 7
+
+public class Blah {
+
+ public enum MyEnum : byte {
+ Foo = 256,
+ Bar
+ }
+
+ public static void Main ()
+ {
+ }
+}