Permalink
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (24 sloc) 732 Bytes

RCS1185: Avoid single-line block

Property Value
Id RCS1185
Category Formatting
Default Severity Info
Enabled by Default -
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

public Foo() { Bar(); } // RCS1185

Code with Fix

public Foo()
{
    Bar();
}

See Also

(Generated with DotMarkdown)