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: 1abcb626afe3ec549bd8096d8549037f4043cdf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// CS0742: A throw statement with no argument is only allowed in a catch clause nested inside of the innermost catch clause
// Line: 14

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