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

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

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