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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs0453-2.cs
blob
01daa0d7f2980d021a83485283d7646b48bfc157
1
// CS0453: The type `Foo' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `System.Nullable<T>'
2
// Line: 10
3
public class
Foo
4
{ }
5
6
class
X
7
{
8
static void
Main
()
9
{
10
Foo
?
foo
=
new
Foo
();
11
}
12
}