3 references to GetSwitchArmKind
Microsoft.CodeAnalysis.Features (3)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.cs (3)
130
if (!sections.Any(static section =>
GetSwitchArmKind
(section.Body) == OperationKind.Return))
147
return
GetSwitchArmKind
(statements[0]);
156
if (
GetSwitchArmKind
(section.Body) == default)