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] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
tests
/
test-anon-143.cs
blob
cf3dcaf93cc718f890f67b3af3552aeebc2e2ffa
1
using
System
;
2
3
public class
TestC
4
{
5
public static int
Main
()
6
{
7
if
(
Test
<
string
> () () !=
typeof
(
string
))
return
1
;
8
if
(
Test
<
int
> () () !=
typeof
(
int
))
return
2
;
9
Console
.
WriteLine
(
"ok"
);
10
return
0
;
11
}
12
13
public static
Func
<
Type
>
Test
<
T
> ()
14
{
15
return
() =>
typeof
(
T
);
16
}
17
}