2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0221-2.cs
blob4e932bf0cafddd9e2523356bbef426fe36b22b07
1 // cs0221-2.cs: Constant value `-91' 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.Min - 100;
11 System.Console.WriteLine (error);