Fetching contributors…
Cannot retrieve contributors at this time
37 lines (27 sloc) 827 Bytes

RCS1048: Use lambda expression instead of anonymous method

Property Value
Id RCS1048
Category Usage
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer


Code with Diagnostic

var x = items.Select(delegate (object f) // RCS1048
    return f.ToString();

Code with Fix

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

See Also

(Generated with DotMarkdown)