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
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
gcs0162.cs
blob
7e14a909ca36a949d6d18b68847da6f1c65c7589
1
// CS0162: Unreachable code detected
2
// Line: 12
3
// Compiler options: -warnaserror -warn:2
4
5
using
System
;
6
7
class
E
8
{
9
public void
Method
<
T
> ()
where T
:
class
10
{
11
if
(
default
(
T
) !=
null
)
12
throw new
ArgumentNullException
();
13
}
14
}