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
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0411-18.cs
blob
fc9053f86f16ae075c427f67e54aaf5c6324d126
1
// CS0411: The type arguments for method `C.Foo<T>(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
(
new
TypedReference
());
11
}
12
13
static void
Foo
<
T
> (
T arg
)
14
{
15
}
16
}