Code Analysis ReferenceAnalyzersRCS1257On this pageRCS1257: Use enum field explicitlyPropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.csvar options = (RegexOptions) 1fix.csvar options = RegexOptions.IgnoreCaseApplies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers