Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

41 lines
412 B
C#

using System;
namespace Bug
{
public class A : B
{
public A ()
{
var dingus = new B ();
EventHandler a = delegate {
int prop = dingus.Prop;
Test ();
};
a ();
}
void Test ()
{
}
public static int Main ()
{
new A ();
return 0;
}
}
public class B
{
public B ()
{
}
public int Prop { get { return 1; } }
}
public delegate void EventHandler ();
}