Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 687 Bytes

RCS1066.md

File metadata and controls

63 lines (48 loc) · 687 Bytes

RCS1066: Remove empty 'finally' clause

Property Value
Id RCS1066
Category Redundancy
Severity Hidden

Examples

Code with Diagnostic

try
{
    Foo();
}
finally // RCS1066
{
}

Code with Fix

Foo();

Code with Diagnostic

try
{
    Foo();
}
catch (Exception ex)
{
}
finally // RCS1066
{
}

Code with Fix

try
{
    Foo();
}
catch (Exception ex)
{
}

See Also

(Generated with DotMarkdown)