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
Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git]
/
mcs
/
tests
/
gtest-546.cs
blob
7e31531c8c8fa01e51fc31dcd8af4661a4cb827d
1
using
System
;
2
3
class
Factory
4
{
5
public class
S
<
G1
,
G2
>
6
{
7
}
8
9
public static
S
<
F1
,
F2
>
Create
<
F1
,
F2
> (
F1 f1
,
F2 f2
)
10
{
11
return null
;
12
}
13
}
14
15
class
A
16
{
17
static
TR Test
<
T1
,
T2
,
TR
>(
T1 t1
,
T2 t2
,
Func
<
T1
,
T2
,
TR
>
f
)
18
{
19
return
f
(
t1
,
t2
);
20
}
21
22
static void
Main
()
23
{
24
var
r
=
Test
(
"a"
,
"b"
,
Factory
.
Create
);
25
}
26
}