a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
297 B
C#
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");
|
|
}
|
|
}
|