repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[tuner] handle the case with multiple "preserve" attributes
[mono-project.git]
/
mcs
/
tests
/
test-anon-62.cs
blob
f74d82259d06a8bd86db00f5319b379506e5e631
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
public 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
}