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
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0311-4.cs
blob
3a47bebcf15cfa1497e65e7860e065b4132b9098
1
// CS0311: The type `B<int>' cannot be used as type parameter `X' in the generic type or method `C<X>'. There is no implicit reference conversion from `B<int>' to `D<B<int>>'
2
// Line: 3
3
class
A
:
C
<
B
<
int
>> {}
4
class
B
<
X
> {}
5
interface
C
<
X
>
where X
:
D
<
X
> {}
6
interface
D
<
X
> {}