repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-02-27 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs8034-6.cs
blob
e2772215c2b7b85575b7be84d47b9676d5e753be
1
// CS8034: Contravariant type parameters can only be used as type arguments in contravariant positions
2
// Line: 11
3
// Compiler options: -langversion:future
4
5
interface
A
<
T
>
6
{
7
}
8
9
interface
B
<
in
T
>
10
{
11
void
C
(
A
<
A
<
T
>>
a
);
12
}