-// 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 ()
- {
- }
-}
+// cs0031.cs: Constant value `1022' cannot be converted to a `byte'\r
+// Line: 9\r
+\r
+public class Test\r
+{\r
+ public static void Main()\r
+ {\r
+ unchecked {\r
+ byte b = 1024 - 2;\r
+ }\r
+ }\r
+}
\ No newline at end of file