Skip to main content

RCS0032: Place new line after/before arrow token

Properties

PropertyValue
Default Severitydisabled by default
Minimum language version-

Examples

Example #1

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

Configuration

info

Option roslynator_arrow_token_new_line is required to be set for this analyzer to work.

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

Applies to