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