mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
24 lines
299 B
C#
24 lines
299 B
C#
// 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;
|
|
}
|
|
}
|
|
}
|
|
}
|