Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git] / mcs / tests / test-252.cs
bloba25a64313f0e23d5b6914118ec0138b6ed54c5ba
1 // testcase from #58290
3 delegate void Foo ();
4 class A {
5 public event Foo Bar;
7 public static void m1 () { }
9 public static int Main ()
11 A a = new A();
12 a.Bar += new Foo (m1);
13 a.Bar -= new Foo (m1);
14 return (a.Bar == null) ? 0 : 1;