Code Analysis ReferenceAnalyzersRCS1154On this pageRCS1154: Sort enum membersPropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.cspublic enum Foo{ D = 4, B = 2, A = 1, C = 3}fix.cspublic enum Foo{ A = 1, B = 2, C = 3, D = 4}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers