Code Analysis ReferenceAnalyzersRCS1042On this pageRCS1042: Remove enum default underlying typePropertiesPropertyValueDefault SeverityHiddenMinimum language version-ExamplesExample #1diagnostic.cspublic enum Foo : int{}fix.cspublic enum Foo{}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers