2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0221-3.cs
bloba186ab76bc2eab768cf5debed6e40f6e887d9a68
1 // cs0221-2.cs: Constant value `-9' cannot be converted to a `E' (use `unchecked' syntax to override)
2 // Line: 10
4 enum E:byte {
5 Min = 9
8 class T {
9 static void Main () {
10 E error = (E)(-9);
11 System.Console.WriteLine (error);