Code Analysis ReferenceAnalyzersRCS1135On this pageRCS1135: Declare enum member with zero value (when enum has FlagsAttribute)PropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.cs[Flags]public enum Foo{ A = 1, B = 2}fix.cs[Flags]public enum Foo{ None = 0, A = 1, B = 2}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers