[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0157-5.cs
blobb3afc6c4d01ee41c1139b87b4910f0cf64a21bd4
1 // CS0157: Control cannot leave the body of a finally clause
2 // Line: 12
4 class T {
5 static void Main ()
7 while (true) {
8 try {
9 System.Console.WriteLine ("trying");
10 } finally {
11 try {
12 break;
14 catch {}