2009-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git] / errors / cs0019-26.cs
blobdec3689cfed3b08b8c1064b8d7be3b3cd5ae1966
1 // CS0019: Operator `&' cannot be applied to operands of type `C.Flags' and `int'
2 // Line: 16
4 using System;
6 class C
8 enum Flags {
9 Removed = 0
12 public int _enumFlags;
14 internal void Close()
16 if ((Flags.Removed & _enumFlags) == Flags.Removed)
17 Console.WriteLine ("error");