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