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
avoid using a custom sources file for the net_2_1_raw profile
[mcs.git]
/
errors
/
gcs0403-3.cs
blob
ea54d70ba1d79d3bb361f89ba556524507c1cb4c
1
// CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead
2
// Line: 8
3
4
class
X
5
{
6
public static
T CreateMethod
<
T
> ()
7
{
8
return
(
T
)
null
;
9
}
10
}