repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0411-21.cs
blob
90706423a2cf3f7878c64843175416ff64da0e21
1
// CS0411: The type arguments for method `C.Foo<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2
// Line: 10
3
4
using
System
;
5
6
class
C
7
{
8
static void
Main
()
9
{
10
Foo
(() => () =>
1
);
11
}
12
13
static void
Foo
<
T
> (
Func
<
T
>
arg
)
14
{
15
}
16
}