projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git]
/
mcs
/
errors
/
gcs0452.cs
1
// CS0452: The type `Foo' must be a reference type in order to use it as type parameter `T' in the generic type or method `MyObject<T>'
2
// Line: 13
3
public class MyObject<T>
4
where T : class
5
{ }
6
7
struct Foo
8
{ }
9
10
class X
11
{
12
MyObject<Foo> foo;
13
14
static void Main ()
15
{ }
16
}