Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 996 Bytes

RCS0059.md

File metadata and controls

44 lines (29 loc) · 996 Bytes

RCS0059: Place new line after/before null-conditional operator

Property Value
Id RCS0059
Severity None
Required option roslynator_null_conditional_operator_new_line

Example

Code with Diagnostic

items
    .Select(selector)
    .FirstOrDefault()
    ?.ToString()
    

Code with Fix

items
    .Select(selector)
    .FirstOrDefault()?
    .ToString()
    

Options

Place new line after/before null-conditional operator

roslynator_null_conditional_operator_new_line = after|before

Applies to

(Generated with DotMarkdown)