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
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
test-anon-86.cs
blob
97abd6957d7b5b2eee9dc445fffe950474d0e764
1
using
System
;
2
3
namespace
Bug
4
{
5
public class
A
:
B
6
{
7
public
A
()
8
{
9
var
dingus
=
new
B
();
10
11
EventHandler a
=
delegate
{
12
int
prop
=
dingus
.
Prop
;
13
Test
();
14
};
15
16
a
();
17
}
18
19
void
Test
()
20
{
21
}
22
23
public static int
Main
()
24
{
25
new
A
();
26
return
0
;
27
}
28
}
29
30
public class
B
31
{
32
public
B
()
33
{
34
}
35
36
public int
Prop { get { return 1; }
}
37
}
38
39
public delegate void
EventHandler
();
40
}