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-62.cs
blob
aba3e9d5df0acc544bdff47e40c51e57a6368df4
1
// Bug #79702
2
public delegate void
FooHandler
();
3
4
public class
X
5
{
6
private string
a
;
7
8
public
X
(
string
a
)
9
{
10
this
.
a
=
a
;
11
}
12
13
static void
Main
()
14
{
15
}
16
}
17
18
public class
Y
:
X
19
{
20
private
Z a
;
21
22
public
Y
(
Z a
) :
base
(
a
.
A
)
23
{
24
this
.
a
=
a
;
25
26
FooHandler handler
=
delegate
{
27
a
.
Hello
();
28
};
29
}
30
}
31
32
public class
Z
33
{
34
public string
A
;
35
36
public void
Hello
()
37
{
38
}
39
}