Skip to main content

Convert 'return' statement to 'if'

PropertyValue
IdRR0143
Applicable Syntaxreturn statement, yield return statement
Syntax Spanselected statement, yield keyword or return keyword
Enabled by Default

Configuration

roslynator_refactoring.convert_return_statement_to_if.enabled = true|false