2010-01-03 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / errors / cs0221-10.cs
blob241c367e84ee2bf0abfea9954a2dce9f076e245e
1 // cs0221: Constant value `-200' cannot be converted to a `byte' (use `unchecked' syntax to override)
2 // Line: 6
4 enum AA : byte { a, b = 200 }
6 public class C
8 public static void Main ()
10 const int b = AA.a - AA.b;