Code Analysis ReferenceAnalyzersRCS1251On this pageRCS1251: Remove unnecessary braces from record declarationPropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.cspublic record Foo(string Value1, string Value2){}fix.cspublic record Foo(string Value1, string Value2);Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers