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