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