Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 796 Bytes

RCS1207: Use method group instead of anonymous function

Property Value
Id RCS1207
Category Simplification
Default Severity Hidden
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer


Code with Diagnostic

var x = items.Select(f => Foo(f)); // RCS1207

Code with Fix

var x = items.Select(Foo);

See Also

(Generated with DotMarkdown)