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
[xbuild] More tweaks for portable debug mode
[mono-project.git]
/
mcs
/
errors
/
cs0403-2.cs
blob
984bf828da8a08432a9550b514c9903cbdffd698
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
struct
S
5
{
6
public void
Foo
<
T
> ()
where T
:
struct
7
{
8
T t
=
null
;
9
}
10
11
static void
Main
()
12
{ }
13
}