diff options
author | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2001-11-11 11:01:48 +0300 |
---|---|---|
committer | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2001-11-11 11:01:48 +0300 |
commit | 2a7159dbd8ce4a1adbf1a1e3e440de202196819c (patch) | |
tree | f2edd61005372c2cdff9a84ce08d0faca3a72e46 /mcs/errors/cs0031.cs | |
parent | 2bb46acd328f46799cb77f5299ed7e8bae3613db (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.cs | 14 |
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 () + { + } +} |