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
Fix all CreateInstance overloads for void
[mcs.git]
/
tests
/
gtest-anon-17.cs
blob
03adec5847c6f86a4316681b1bc4d87d7f9aecd1
1
2
// Supported by C# 3.0
3
4
public class
C
5
{
6
public delegate
T Func
<
T
> (
T t
);
7
8
public static void
Test
<
T
,
U
> (
Func
<
T
>
f
,
U u
)
9
{
10
}
11
12
public static void
Main
()
13
{
14
Test
<
int
,
string
> (
delegate
(
int
i
)
{ return i; }
,
""
);
15
Test
(
delegate
(
int
i
)
{ return i; }
,
1
);
16
}
17
}