80 references to CasePatternSwitchLabel
Microsoft.CodeAnalysis.CSharp (8)
Binder\ExpressionVariableFinder.cs (1)
143case SyntaxKind.CasePatternSwitchLabel:
Binder\LocalBinderFactory.cs (1)
754case SyntaxKind.CasePatternSwitchLabel:
Binder\SwitchBinder.cs (1)
223case 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)
166nodeToBind.Kind() == SyntaxKind.CasePatternSwitchLabel || 741nodeToBind.Kind() == SyntaxKind.CasePatternSwitchLabel || 788case SyntaxKind.CasePatternSwitchLabel:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
255nodeParent.IsParentKind(SyntaxKind.CasePatternSwitchLabel))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
401SyntaxKind.CasePatternSwitchLabel or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
162case SyntaxKind.CasePatternSwitchLabel:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (2)
156return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel or SyntaxKind.LabeledStatement); 403if (targetToken.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel))
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\BreakpointSpans.cs (1)
289case SyntaxKind.CasePatternSwitchLabel:
EditAndContinue\SyntaxComparer.cs (1)
431case SyntaxKind.CasePatternSwitchLabel:
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
162case SyntaxKind.CasePatternSwitchLabel:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (59)
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)
766N(SyntaxKind.CasePatternSwitchLabel); 853N(SyntaxKind.CasePatternSwitchLabel); 909N(SyntaxKind.CasePatternSwitchLabel); 968N(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); 2184N(SyntaxKind.CasePatternSwitchLabel); 2257N(SyntaxKind.CasePatternSwitchLabel); 2306N(SyntaxKind.CasePatternSwitchLabel); 2403N(SyntaxKind.CasePatternSwitchLabel); 2761N(SyntaxKind.CasePatternSwitchLabel); 2898N(SyntaxKind.CasePatternSwitchLabel); 2949N(SyntaxKind.CasePatternSwitchLabel); 3886N(SyntaxKind.CasePatternSwitchLabel); 3957N(SyntaxKind.CasePatternSwitchLabel); 4030N(SyntaxKind.CasePatternSwitchLabel); 4101N(SyntaxKind.CasePatternSwitchLabel); 4174N(SyntaxKind.CasePatternSwitchLabel); 4261N(SyntaxKind.CasePatternSwitchLabel); 5573N(SyntaxKind.CasePatternSwitchLabel); 11265N(SyntaxKind.CasePatternSwitchLabel); 11319N(SyntaxKind.CasePatternSwitchLabel); 12188N(SyntaxKind.CasePatternSwitchLabel); 12288N(SyntaxKind.CasePatternSwitchLabel); 12389N(SyntaxKind.CasePatternSwitchLabel); 12489N(SyntaxKind.CasePatternSwitchLabel);
Parsing\StatementParsingTests.cs (21)
4336N(SyntaxKind.CasePatternSwitchLabel); 4500N(SyntaxKind.CasePatternSwitchLabel); 4691N(SyntaxKind.CasePatternSwitchLabel); 4798N(SyntaxKind.CasePatternSwitchLabel); 4838N(SyntaxKind.CasePatternSwitchLabel); 4925N(SyntaxKind.CasePatternSwitchLabel); 4965N(SyntaxKind.CasePatternSwitchLabel); 5058N(SyntaxKind.CasePatternSwitchLabel); 5109N(SyntaxKind.CasePatternSwitchLabel); 5201N(SyntaxKind.CasePatternSwitchLabel); 5211N(SyntaxKind.CasePatternSwitchLabel); 5268N(SyntaxKind.CasePatternSwitchLabel); 5283N(SyntaxKind.CasePatternSwitchLabel); 5351N(SyntaxKind.CasePatternSwitchLabel); 5371N(SyntaxKind.CasePatternSwitchLabel); 5446N(SyntaxKind.CasePatternSwitchLabel); 5466N(SyntaxKind.CasePatternSwitchLabel); 5512N(SyntaxKind.CasePatternSwitchLabel); 5624N(SyntaxKind.CasePatternSwitchLabel); 5690N(SyntaxKind.CasePatternSwitchLabel); 5760N(SyntaxKind.CasePatternSwitchLabel);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (1)
118case SyntaxKind.CasePatternSwitchLabel:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
255nodeParent.IsParentKind(SyntaxKind.CasePatternSwitchLabel))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
401SyntaxKind.CasePatternSwitchLabel or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (2)
156return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel or SyntaxKind.LabeledStatement); 403if (targetToken.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel))