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
add comment
[mcs.git]
/
tests
/
gtest-etree-02.cs
blob
d2d522e543c871ffa7f94f90dbc30ce82d305a9e
1
using
System
;
2
using
System
.
Linq
.
Expressions
;
3
4
class
M
5
{
6
public static void
Foo
<
T
> (
Expression
<
Func
<
T
,
T
>>
x
)
7
{
8
}
9
10
public static void
Main
()
11
{
12
Foo
<
int
> ((
i
) =>
i
);
13
14
Foo
((
int
i
) =>
i
);
15
16
Expression
<
Func
<
int
,
int
>>
func
= (
i
) =>
i
;
17
Foo
(
func
);
18
}
19
}
20