Code Analysis ReferenceAnalyzersRCS1001On this pageRCS1001: Add braces (when expression spans over multiple lines)PropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.csif (condition) Foo( x, y);fix.csif (condition){ Foo( x, y);}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers