2 using System
.Threading
;
6 public static void Test1 ()
8 bool called_finally
= false;
9 bool failed_abort
= false;
10 bool finished
= false;
12 Thread thr
= new Thread (() => {
15 Thread
.CurrentThread
.Abort ();
17 called_finally
= true;
18 Thread
.CurrentThread
.Abort ();
21 } catch (ThreadAbortException
) {
38 public static void Main ()
41 Console
.WriteLine ("done, all things good");