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
2008-10-24 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs0162-4.cs
blob
1859fb3892182106d7189ee5288d4496710d2f57
1
// cs0162.cs: Unreachable code detected
2
// Line: 13
3
// Compiler options: -warnaserror -warn:2
4
5
using
System
;
6
7
class
C
{
8
bool
T
()
{ return true; }
9
10
void
Close
()
11
{
12
if
(
T
() &&
false
)
13
Console
.
WriteLine
(
"error"
);
14
}
15
}
16
17
class
XXXX { static void Main () {}
}