a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
296 B
C#
24 lines
296 B
C#
// CS0724: 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;
|
|
}
|
|
}
|
|
}
|
|
}
|