2 references to CanConvertToSwitchExpression
Microsoft.CodeAnalysis.Features (2)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.cs (2)
58
CanConvertToSwitchExpression
(analyzer.Supports(Feature.OrPattern), sections))
252
if (convertToSwitchExpression && !
CanConvertToSwitchExpression
(analyzer.Supports(Feature.OrPattern), sections))