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

cs0724.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4da1604af52ca45cae5b540527170efa7852f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// cs0724.cs: A throw statement with no arguments is not allowed inside of a finally clause nested inside of the innermost catch clause
// Line: 14

class C
{
	static void Test()
	{
		try
		{
			throw new System.Exception();
		}
		catch
		{
			try
			{
			}
			finally
			{
				throw;
			}
		}
	}
}