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-09-29 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0403.cs
blob
3e73bc7dd0458dca7aa7cda9d09e24577f61e6be
1
// CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead
2
// Line: 7
3
class
Test
<
T
>
4
{
5
public
T
Null
()
6
{
7
return null
;
8
}
9
}
10
11
class
X
12
{
13
static void
Main
()
14
{ }
15
}