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-03-15 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
gcs8035-13.cs
blob
02630573b66a26e0bb6513e667916f4d9c237755
1
// CS8035: Covariant type parameters can only be used as type arguments in covariant positions
2
// Line: 11
3
// Compiler options: -langversion:future
4
5
interface
A
<
in
T
>
6
{
7
}
8
9
interface
B
<
out
T
>
10
{
11
void
C
(
A
<
T
>
a
);
12
}