linux-packaging-mono/mcs/tests/test-anon-30.cs

22 lines
243 B
C#
Raw Normal View History

class X {
public bool eh;
}
static class Program {
delegate void D (X o);
static event D E;
public static void Main()
{
bool running = true;
E = delegate(X o) {
o.eh = false;
running = false;
};
running = true;
}
}