JetBrains Rider 2024.1 Help

Code Inspection: Incorrect indent (around statement braces)

Category

Formatting

ID

BadControlBracesIndent

EditorConfig

resharper_bad_control_braces_indent_highlighting

Default severity

Suggestion

Language

C#

Requires SWA

No

This inspection verifies code formatting rules.

If the indentation is not right, especially in a long body, you can miss the actual declaration braces. This inspection helps avoiding such situations:

JetBrains Rider code inspection: Incorrect indent (around statement braces)
Last modified: 10 April 2024