projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4998 from kumpera/fix_56684
[mono.git]
/
mcs
/
tests
/
test-anon-86.cs
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
}