projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-01-16 Daniel Morgan <danielmorgan@verizon.net>
[mono.git]
/
mcs
/
errors
/
gcs0309.cs
1
// CS0309: The type 'B' must be convertible to 'A' in order to use it as
2
// parameter 'T' in the generic type or method 'Foo<T>'
3
// Line: 20
4
5
public class Foo<T>
6
where T : A
7
{
8
}
9
10
public class A
11
{
12
}
13
14
public class B
15
{
16
}
17
18
class X
19
{
20
Foo<B> foo;
21
22
static void Main ()
23
{
24
}
25
}