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
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
errors
/
cs0162-14.cs
blob
72880f72beaede6efbd502aec7d3b186d0b08707
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
}