avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / cs0162-2.cs
blob143374e06fbd8923a13005343b617f0b324fc1e2
1 // cs0162.cs: 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 ((_enumFlags & Flags.Removed) != 0)
18 Console.WriteLine ("error");