Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 809 Bytes

RCS1207.md

File metadata and controls

32 lines (21 loc) · 809 Bytes

RCS1207: Use anonymous function or method group

Property Value
Id RCS1207
Severity None
Required option roslynator_use_anonymous_function_or_method_group

Example

Code with Diagnostic

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

Code with Fix

var x = items.Select(Foo);

Options

Use anonymous function or method group

roslynator_use_anonymous_function_or_method_group = anonymous_function|method_group

(Generated with DotMarkdown)