a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
356 B
C#
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 () {}
|
|
}
|