Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0162-18.cs
blob6b393ae94f6d754ddd547bc0324dc612933a6387
1 // CS0162: Unreachable code detected
2 // Line: 10
3 // Compiler options: -warnaserror
5 public class X
7 public static void Main ()
9 return;
11 switch (8) {
12 case 1:
13 case 2:
14 break;
15 default:
16 return;
19 return;