repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-03-04 Astushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0162-9.cs
blob
2ca5cdff90e19c104e19ac6a5a5d4d4c799159b9
1
// CS0162: Unreachable code detected
2
// Line: 9
3
// Compiler options: -warnaserror -warn:2
4
5
class
Error
6
{
7
void
Test
()
8
{
9
if
(
1
==
0
) {
10
try
{
11
}
catch
(
System
.
Net
.
Sockets
.
SocketException sex
) {
12
int
x
= (
int
)
sex
.
SocketErrorCode
;
13
}
14
}
15
}
16
17
}