[Microsoft.Build] Ignore ThreadAbortException in BuildNodeManager
[mono-project.git] / mono / tests / bug-70561.cs
bloba672d686954157d11b46ba80793ebfb42bc359b7
1 using System;
2 using System.Threading;
4 class T
6 static void DoStuff () {
7 Console.WriteLine ("DoStuff ()");
10 static void Main (string [] args) {
11 try
13 Thread.CurrentThread.Abort ();
14 } finally {
15 //LABEL1
16 try
18 DoStuff ();
19 } catch (Exception) {}
20 // This call will send us back up to label one; and we'll loop forver
21 Thread.CurrentThread.Abort ();