Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

20 lines
297 B
C#

// CS0019: Operator `&' cannot be applied to operands of type `C.Flags' and `int'
// Line: 16
using System;
class C
{
enum Flags {
Removed = 0
}
public int _enumFlags;
internal void Close()
{
if ((Flags.Removed & _enumFlags) == Flags.Removed)
Console.WriteLine ("error");
}
}