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-04-06 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0411-4.cs
blob
14402dbbe922b5bcbc62c931fbd8f14875f4762f
1
// CS0411: The type arguments for method `X.G<T>()' cannot be inferred from the usage. Try specifying the type arguments explicitly
2
// Line: 17
3
4
using
System
;
5
6
delegate int
E
();
7
8
class
X
9
{
10
public static
T G
<
T
> ()
11
{
12
throw new
ArgumentException
();
13
}
14
15
static void
Main
()
16
{
17
E e2
=
new
E
(
G
);
18
}
19
}