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