Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0157-5.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 00650d2fa024874cfb3aa26975a58026c75433a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// cs0157-5.cs: Control can not leave the body of a finally clause
// Line: 12

class T {
	static void Main ()
	{
		while (true) { 
			try {
				System.Console.WriteLine ("trying");
			} finally {
				try {
				    break;
				}
				catch {}
			}
		}
	}
}