JetBrains Rider
 
2021.3
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Code Inspection: Incorrect line breaks (multiple type members on one line)

Last modified: 07 April 2022

This inspection verifies code formatting rules.

The inspection helps to avoid associating a wrong value or behavior with a certain member. This is especially crucial when signatures are very long and less likely to scroll to the end of the line:

https://resources.jetbrains.com/help/img/rider/2021.3/formatter-members-on-one-line.png
Gif