Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0162-21.cs
blobe8bd4b2f79a222b6035a07eaa1bbc86ba0593928
1 // CS0162: Unreachable code detected
2 // Line: 12
3 // Compiler options: -warnaserror -warn:2
5 using System;
7 class X
9 void Test ()
11 var x = true ? throw new NullReferenceException () : 1;
12 x = 2;
13 return;
16 static void Main ()