63 references to CasePatternSwitchLabel
Microsoft.CodeAnalysis.CSharp (8)
Binder\ExpressionVariableFinder.cs (1)
152case SyntaxKind.CasePatternSwitchLabel:
Binder\LocalBinderFactory.cs (1)
705case SyntaxKind.CasePatternSwitchLabel:
Binder\SwitchBinder.cs (1)
219case SyntaxKind.CasePatternSwitchLabel:
Binder\SwitchBinder_Patterns.cs (1)
266case SyntaxKind.CasePatternSwitchLabel:
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
110if (label.Kind() == SyntaxKind.CasePatternSwitchLabel)
Symbols\Source\SourceLocalSymbol.cs (3)
167nodeToBind.Kind() == SyntaxKind.CasePatternSwitchLabel || 725nodeToBind.Kind() == SyntaxKind.CasePatternSwitchLabel || 772case SyntaxKind.CasePatternSwitchLabel:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
ParenthesizedExpressionSyntaxExtensions.cs (1)
251nodeParent.IsParentKind(SyntaxKind.CasePatternSwitchLabel))
TokenBasedFormattingRule.cs (1)
395SyntaxKind.CasePatternSwitchLabel or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
162case SyntaxKind.CasePatternSwitchLabel:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (2)
156return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel or SyntaxKind.LabeledStatement); 402if (targetToken.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel))
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
162case SyntaxKind.CasePatternSwitchLabel:
EditAndContinue\BreakpointSpans.cs (1)
183case SyntaxKind.CasePatternSwitchLabel:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1890case SyntaxKind.CasePatternSwitchLabel:
EditAndContinue\SyntaxComparer.cs (1)
430case SyntaxKind.CasePatternSwitchLabel:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (41)
Parsing\DeconstructionTests.cs (2)
2829N(SyntaxKind.CasePatternSwitchLabel); 2897N(SyntaxKind.CasePatternSwitchLabel);
Parsing\ExpressionParsingTests.cs (1)
4853N(SyntaxKind.CasePatternSwitchLabel);
Parsing\FunctionPointerTests.cs (2)
2564N(SyntaxKind.CasePatternSwitchLabel); 2598N(SyntaxKind.CasePatternSwitchLabel);
Parsing\NullableParsingTests.cs (4)
765N(SyntaxKind.CasePatternSwitchLabel); 851N(SyntaxKind.CasePatternSwitchLabel); 907N(SyntaxKind.CasePatternSwitchLabel); 966N(SyntaxKind.CasePatternSwitchLabel);
Parsing\PatternParsingTests.cs (29)
952N(SyntaxKind.CasePatternSwitchLabel); 994N(SyntaxKind.CasePatternSwitchLabel); 1522N(SyntaxKind.CasePatternSwitchLabel); 1590N(SyntaxKind.CasePatternSwitchLabel); 1684N(SyntaxKind.CasePatternSwitchLabel); 1795N(SyntaxKind.CasePatternSwitchLabel); 1884N(SyntaxKind.CasePatternSwitchLabel); 1972N(SyntaxKind.CasePatternSwitchLabel); 2057N(SyntaxKind.CasePatternSwitchLabel); 2196N(SyntaxKind.CasePatternSwitchLabel); 2269N(SyntaxKind.CasePatternSwitchLabel); 2318N(SyntaxKind.CasePatternSwitchLabel); 2415N(SyntaxKind.CasePatternSwitchLabel); 2794N(SyntaxKind.CasePatternSwitchLabel); 2937N(SyntaxKind.CasePatternSwitchLabel); 2988N(SyntaxKind.CasePatternSwitchLabel); 3925N(SyntaxKind.CasePatternSwitchLabel); 3996N(SyntaxKind.CasePatternSwitchLabel); 4069N(SyntaxKind.CasePatternSwitchLabel); 4140N(SyntaxKind.CasePatternSwitchLabel); 4213N(SyntaxKind.CasePatternSwitchLabel); 4300N(SyntaxKind.CasePatternSwitchLabel); 5612N(SyntaxKind.CasePatternSwitchLabel); 11304N(SyntaxKind.CasePatternSwitchLabel); 11358N(SyntaxKind.CasePatternSwitchLabel); 12227N(SyntaxKind.CasePatternSwitchLabel); 12327N(SyntaxKind.CasePatternSwitchLabel); 12428N(SyntaxKind.CasePatternSwitchLabel); 12528N(SyntaxKind.CasePatternSwitchLabel);
Parsing\StatementParsingTests.cs (3)
4308N(SyntaxKind.CasePatternSwitchLabel); 4472N(SyntaxKind.CasePatternSwitchLabel); 4663N(SyntaxKind.CasePatternSwitchLabel);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (1)
126case SyntaxKind.CasePatternSwitchLabel:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (2)
156return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel or SyntaxKind.LabeledStatement); 402if (targetToken.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel))
ParenthesizedExpressionSyntaxExtensions.cs (1)
251nodeParent.IsParentKind(SyntaxKind.CasePatternSwitchLabel))
TokenBasedFormattingRule.cs (1)
395SyntaxKind.CasePatternSwitchLabel or