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-06-26 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
gcs1961-8.cs
blob
8ab71b2921ece1932330b00b60e28bb6132c201f
1
// CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>.C(A<A<T>>)'
2
// Line: 9
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
}