Merge pull request #1861 from saper/home-override
[mono-project.git] / mcs / tests / test-anon-86.cs
blob97abd6957d7b5b2eee9dc445fffe950474d0e764
1 using System;
3 namespace Bug
5 public class A : B
7 public A ()
9 var dingus = new B ();
11 EventHandler a = delegate {
12 int prop = dingus.Prop;
13 Test ();
16 a ();
19 void Test ()
23 public static int Main ()
25 new A ();
26 return 0;
30 public class B
32 public B ()
36 public int Prop { get { return 1; } }
39 public delegate void EventHandler ();