7 references to AnalyzedSwitchLabel
Microsoft.CodeAnalysis.Features (7)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.AnalyzedNodes.cs (2)
24internal sealed class AnalyzedSwitchSection(ImmutableArray<AnalyzedSwitchLabel> labels, IOperation body, SyntaxNode syntaxToRemove) 26public readonly ImmutableArray<AnalyzedSwitchLabel> Labels = labels;
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (4)
182using var _ = ArrayBuilder<AnalyzedSwitchLabel>.GetInstance(out var labels); 197private bool ParseSwitchLabels(IOperation operation, ArrayBuilder<AnalyzedSwitchLabel> labels) 209var label = ParseSwitchLabel(operation); 219private AnalyzedSwitchLabel? ParseSwitchLabel(IOperation operation)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
25public abstract SyntaxNode AsSwitchLabelSyntax(AnalyzedSwitchLabel label, Feature feature);