Code Analysis ReferenceAnalyzersRCS1039On this pageRCS1039: Remove argument list from attributePropertiesPropertyValueDefault SeverityHiddenMinimum language version-ExamplesExample #1diagnostic.cs[Obsolete()]public void Foo(){}fix.cs[Obsolete]public void Foo(){}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers