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
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
gtest-etree-11.cs
blob
328f3c1d58e5891d90eb65adda73af4a9c238ed0
1
using
System
;
2
using
System
.
Linq
.
Expressions
;
3
4
class
C
5
{
6
static void
Main
()
7
{
8
new
Test
().
Invalid
(
4
);
9
}
10
}
11
12
public class
Test
13
{
14
public void
Invalid
(
int
item
)
15
{
16
Expression
<
Action
>
e1
= () =>
Other
(
new int
[]
{ item }
);
17
e1
.
Compile
() ();
18
}
19
20
public void
Other
(
int
[]
i
)
21
{
22
}
23
}