Skip to main content

RCS0062: Put expression body on its own line

Properties​

PropertyValue
Default Severitydisabled by default
Minimum language version-

Examples​

Example #1​

diagnostic.cs
object Foo() => null;
fix.cs
object Foo()
=> null;

Configuration​

.editorconfig
# Place new line after/before arrow token
roslynator_arrow_token_new_line = after|before

Applies to​