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
use MOONLIGHT symbol
[mcs.git]
/
errors
/
gcs0453.cs
blob
016d95ec97c324db8b0a87ffd5b6f6dd9ca0e564
1
// CS0453: The type `X' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `MyValue<T>'
2
// Line: 10
3
public class
MyValue
<
T
>
4
where T
:
struct
5
{ }
6
7
class
X
8
{
9
MyValue
<
X
>
x
;
10
11
static void
Main
()
12
{ }
13
}