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-05-13 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs8034-12.cs
blob
ee00430537f6a624d9356510133cfb3156c6a39a
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
<
T
>
a
);
12
}