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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0305-7.cs
blob
5efc0235dced0c047768e85ff857ff77ebc4d0c0
1
// CS0305: Using the generic method `X.G<T>()' requires `1' type argument(s)
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
}