2010-01-03 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / errors / cs0019-22.cs
blob2645ce7f1a24bfc0370d1131ee1f6cb3d60f8c73
1 // CS0019: Operator `-' cannot be applied to operands of type `AA' and `long'
2 // Line: 11
4 enum AA : short { a, b = 200 }
6 public class C
8 public static void Main ()
10 const long ul = 1;
11 AA b = AA.a - ul;