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

RCS1016: Use expression-bodied member

Property Value
Id RCS1016
Category Usage
Default Severity Hidden
Enabled by Default -
Supports Fade-Out -
Supports Fade-Out Analyzer

Example

Code with Diagnostic

public object Foo()
{ // RCS1016
    return null;
}

Code with Fix

public object Foo() => null;

See Also

(Generated with DotMarkdown)