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

RCS1196: Call extension method as instance method

Property Value
Id RCS1196
Category Style
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

var x = Enumerable.Select(items, f => f.ToString()) // RCS1196

Code with Fix

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

See Also

(Generated with DotMarkdown)