Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0162-3.cs
blob1df7c189379db7558cc71a2ac62348fa5abf050f
1 // CS0162: Unreachable code detected
2 // Line: 18
3 // Compiler options: -warnaserror -warn:2
5 using System;
7 class C {
8 public enum Flags {
9 Removed = 0,
10 Public = 1
13 public Flags _enumFlags;
15 internal void Close()
17 if ((Flags.Removed & _enumFlags) != (Flags.Removed & _enumFlags))
18 Console.WriteLine ("error");
21 static void Main () {}