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

RCS1021: Simplify lambda expression

Property Value
Id RCS1021
Category Simplification
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer


Code with Diagnostic

var x = items.Select(f =>
{ // RCS1021
    return f.ToString();

Code with Fix

var x = items.Select(f => f.ToString());

See Also

(Generated with DotMarkdown)