-
-
Notifications
You must be signed in to change notification settings - Fork 277
Closed
Description
In our code we prefer having single line methods and properties as expression bodies with
roslynator_body_style = expression
roslynator_use_block_body_when_declaration_spans_over_multiple_lines = true
roslynator_use_block_body_when_expression_spans_over_multiple_lines = true
However, we also like to break before => to easier see the actual body.
For that I would like to request an analyzer and fix.
Example
public int Property
=> 12;
public int DoSomething()
=> SingleLineBreaksBeforeArray();What do you think of it?
It could be an option like
roslynator_expression_body_new_line = never|after_arrow|before_arrow
msedi and Sella-GH