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
(DISTFILES): Comment out a few missing files.
[mono-project.git]
/
mcs
/
errors
/
gcs0452.cs
blob
c210ba0efccceaf790ce9d635cd738ae3f08ad2c
1
// CS0452: The type `X' must be a reference type in order to use it as type
2
// parameter `T' in the generic type or method `MyObject<T>'.
3
// Line: 13
4
public class
MyObject
<
T
>
5
where T
:
class
6
{ }
7
8
struct
Foo
9
{ }
10
11
class
X
12
{
13
MyObject
<
Foo
>
foo
;
14
15
static void
Main
()
16
{ }
17
}