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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
tests
/
test-anon-42.cs
blob
5a8ba9d9223001c943beb1fc28829ea26965740b
1
using
System
;
2
3
delegate void
Simple
();
4
5
delegate
Simple
Foo
();
6
7
class
X
8
{
9
public static void
Hello
(
long
k
)
10
{ }
11
12
public static void
Test
(
int
i
)
13
{
14
Hello
(
3
);
15
Foo foo
=
delegate
{
16
Hello
(
4
);
17
return delegate
{
18
Hello
(
5
);
19
};
20
};
21
Simple simple
=
foo
();
22
simple
();
23
}
24
25
static void
Main
()
26
{
27
X x
=
new
X
();
28
X
.
Test
(
3
);
29
}
30
}