Code Analysis ReferenceAnalyzersRCS1069On this pageRCS1069: Remove unnecessary case labelPropertiesPropertyValueDefault SeverityHiddenMinimum language version-ExamplesExample #1diagnostic.csswitch (s){ case "a": return true; case "b": default: return false;}fix.csswitch (s){ case "a": return true; default: return false;}Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers