projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use new GetOriginalType method
[mono.git]
/
mcs
/
tests
/
test-anon-62.cs
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
}