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
monotouch uses the real HttpWebRequest
[mcs.git]
/
tests
/
test-anon-53.cs
blob
914f90b0297b66b85127df60713bd283c87fc7f8
1
using
System
;
2
3
public delegate void
Foo
();
4
5
class
Test
6
{
7
public
Test
(
int
a
)
8
{
9
Foo foo
=
delegate
{
10
Console
.
WriteLine
(
a
);
11
};
12
foo
();
13
}
14
15
static
Test
()
16
{
17
int
a
=
5
;
18
Foo foo
=
delegate
{
19
Console
.
WriteLine
(
a
);
20
};
21
foo
();
22
}
23
}
24
25
class
X
26
{
27
static void
Main
()
28
{
29
Test test
=
new
Test
(
9
);
30
Console
.
WriteLine
(
test
);
31
}
32
}