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
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
test-anon-55.cs
blob
7ccaaaf4f51c7ef0c29dca735810ba254b50c1f3
1
using
System
;
2
3
public class
Foo
4
{
5
protected delegate void
Hello
();
6
7
protected void
Test
(
Hello hello
)
8
{
9
hello
();
10
}
11
12
private void
Private
()
13
{
14
Console
.
WriteLine
(
"Private!"
);
15
}
16
17
public void
Test
()
18
{
19
Test
(
delegate
{
20
Private
();
21
});
22
}
23
}
24
25
class
X
26
{
27
static void
Main
()
28
{
29
Foo foo
=
new
Foo
();
30
foo
.
Test
();
31
}
32
}