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

23 lines
356 B
C#

// CS0162: Unreachable code detected
// Line: 18
// Compiler options: -warnaserror -warn:2
using System;
class C {
public enum Flags {
Removed = 0,
Public = 1
}
public Flags _enumFlags;
internal void Close()
{
if ((Flags.Removed & _enumFlags) != (Flags.Removed & _enumFlags))
Console.WriteLine ("error");
}
static void Main () {}
}