repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0162-21.cs
blob
e8bd4b2f79a222b6035a07eaa1bbc86ba0593928
1
// CS0162: Unreachable code detected
2
// Line: 12
3
// Compiler options: -warnaserror -warn:2
4
5
using
System
;
6
7
class
X
8
{
9
void
Test
()
10
{
11
var
x
=
true
?
throw new
NullReferenceException
() :
1
;
12
x
=
2
;
13
return
;
14
}
15
16
static void
Main
()
17
{
18
}
19
}