Updated with review feedback.
[mono.git] / mcs / errors / cs0031.cs
1 // CS0031: Constant value `1022' cannot be converted to a `byte'
2 // Line: 9
3
4 public class Test
5 {
6         public static void Main()
7         {
8                 unchecked {
9                         byte b = 1024 - 2;
10                 }
11         }
12 }