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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs0411-11.cs
blob
12f8721f7b246676eadda6e199fe8ed88261c45f
1
// CS0411: The type arguments for method `C.Foo<T>(I<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2
// Line: 17
3
4
interface
I
<
T
>
5
{
6
}
7
8
class
C
:
I
<
long
>,
I
<
int
>
9
{
10
static void
Foo
<
T
> (
I
<
T
>
i
)
11
{
12
}
13
14
static void
Main
()
15
{
16
C c
=
new
C
();
17
Foo
(
c
);
18
}
19
}