Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git] / mcs / tests / test-anon-04.cs
blob50985f4fb2bee92ed3d2a906c97000cda74f93fc
1 //
2 // Capturing test.
3 //
4 using System;
6 delegate void S ();
8 class X {
9 static void Main ()
11 int a = 1;
12 S b = delegate {
13 float f = 1;
14 Console.WriteLine (a);
15 if (f == 2)
16 return;
18 b ();
19 Console.WriteLine ("Back, got " + a);