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