80 references to CasePatternSwitchLabel
Microsoft.CodeAnalysis.CSharp (8)
Binder\ExpressionVariableFinder.cs (1)
143
case SyntaxKind.
CasePatternSwitchLabel
:
Binder\LocalBinderFactory.cs (1)
754
case SyntaxKind.
CasePatternSwitchLabel
:
Binder\SwitchBinder.cs (1)
223
case SyntaxKind.
CasePatternSwitchLabel
:
Binder\SwitchBinder_Patterns.cs (1)
266
case SyntaxKind.
CasePatternSwitchLabel
:
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
110
if (label.Kind() == SyntaxKind.
CasePatternSwitchLabel
)
Symbols\Source\SourceLocalSymbol.cs (3)
166
nodeToBind.Kind() == SyntaxKind.
CasePatternSwitchLabel
||
741
nodeToBind.Kind() == SyntaxKind.
CasePatternSwitchLabel
||
788
case SyntaxKind.
CasePatternSwitchLabel
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
255
nodeParent.IsParentKind(SyntaxKind.
CasePatternSwitchLabel
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
401
SyntaxKind.
CasePatternSwitchLabel
or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
162
case SyntaxKind.
CasePatternSwitchLabel
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (2)
156
return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.
CasePatternSwitchLabel
or SyntaxKind.LabeledStatement);
403
if (targetToken.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.
CasePatternSwitchLabel
))
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\BreakpointSpans.cs (1)
289
case SyntaxKind.
CasePatternSwitchLabel
:
EditAndContinue\SyntaxComparer.cs (1)
431
case SyntaxKind.
CasePatternSwitchLabel
:
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
162
case SyntaxKind.
CasePatternSwitchLabel
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (59)
Parsing\DeconstructionTests.cs (2)
2829
N(SyntaxKind.
CasePatternSwitchLabel
);
2897
N(SyntaxKind.
CasePatternSwitchLabel
);
Parsing\ExpressionParsingTests.cs (1)
4853
N(SyntaxKind.
CasePatternSwitchLabel
);
Parsing\FunctionPointerTests.cs (2)
2564
N(SyntaxKind.
CasePatternSwitchLabel
);
2598
N(SyntaxKind.
CasePatternSwitchLabel
);
Parsing\NullableParsingTests.cs (4)
766
N(SyntaxKind.
CasePatternSwitchLabel
);
853
N(SyntaxKind.
CasePatternSwitchLabel
);
909
N(SyntaxKind.
CasePatternSwitchLabel
);
968
N(SyntaxKind.
CasePatternSwitchLabel
);
Parsing\PatternParsingTests.cs (29)
952
N(SyntaxKind.
CasePatternSwitchLabel
);
994
N(SyntaxKind.
CasePatternSwitchLabel
);
1522
N(SyntaxKind.
CasePatternSwitchLabel
);
1590
N(SyntaxKind.
CasePatternSwitchLabel
);
1684
N(SyntaxKind.
CasePatternSwitchLabel
);
1795
N(SyntaxKind.
CasePatternSwitchLabel
);
1884
N(SyntaxKind.
CasePatternSwitchLabel
);
1972
N(SyntaxKind.
CasePatternSwitchLabel
);
2057
N(SyntaxKind.
CasePatternSwitchLabel
);
2184
N(SyntaxKind.
CasePatternSwitchLabel
);
2257
N(SyntaxKind.
CasePatternSwitchLabel
);
2306
N(SyntaxKind.
CasePatternSwitchLabel
);
2403
N(SyntaxKind.
CasePatternSwitchLabel
);
2761
N(SyntaxKind.
CasePatternSwitchLabel
);
2898
N(SyntaxKind.
CasePatternSwitchLabel
);
2949
N(SyntaxKind.
CasePatternSwitchLabel
);
3886
N(SyntaxKind.
CasePatternSwitchLabel
);
3957
N(SyntaxKind.
CasePatternSwitchLabel
);
4030
N(SyntaxKind.
CasePatternSwitchLabel
);
4101
N(SyntaxKind.
CasePatternSwitchLabel
);
4174
N(SyntaxKind.
CasePatternSwitchLabel
);
4261
N(SyntaxKind.
CasePatternSwitchLabel
);
5573
N(SyntaxKind.
CasePatternSwitchLabel
);
11265
N(SyntaxKind.
CasePatternSwitchLabel
);
11319
N(SyntaxKind.
CasePatternSwitchLabel
);
12188
N(SyntaxKind.
CasePatternSwitchLabel
);
12288
N(SyntaxKind.
CasePatternSwitchLabel
);
12389
N(SyntaxKind.
CasePatternSwitchLabel
);
12489
N(SyntaxKind.
CasePatternSwitchLabel
);
Parsing\StatementParsingTests.cs (21)
4336
N(SyntaxKind.
CasePatternSwitchLabel
);
4500
N(SyntaxKind.
CasePatternSwitchLabel
);
4691
N(SyntaxKind.
CasePatternSwitchLabel
);
4798
N(SyntaxKind.
CasePatternSwitchLabel
);
4838
N(SyntaxKind.
CasePatternSwitchLabel
);
4925
N(SyntaxKind.
CasePatternSwitchLabel
);
4965
N(SyntaxKind.
CasePatternSwitchLabel
);
5058
N(SyntaxKind.
CasePatternSwitchLabel
);
5109
N(SyntaxKind.
CasePatternSwitchLabel
);
5201
N(SyntaxKind.
CasePatternSwitchLabel
);
5211
N(SyntaxKind.
CasePatternSwitchLabel
);
5268
N(SyntaxKind.
CasePatternSwitchLabel
);
5283
N(SyntaxKind.
CasePatternSwitchLabel
);
5351
N(SyntaxKind.
CasePatternSwitchLabel
);
5371
N(SyntaxKind.
CasePatternSwitchLabel
);
5446
N(SyntaxKind.
CasePatternSwitchLabel
);
5466
N(SyntaxKind.
CasePatternSwitchLabel
);
5512
N(SyntaxKind.
CasePatternSwitchLabel
);
5624
N(SyntaxKind.
CasePatternSwitchLabel
);
5690
N(SyntaxKind.
CasePatternSwitchLabel
);
5760
N(SyntaxKind.
CasePatternSwitchLabel
);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (1)
118
case SyntaxKind.
CasePatternSwitchLabel
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
255
nodeParent.IsParentKind(SyntaxKind.
CasePatternSwitchLabel
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
401
SyntaxKind.
CasePatternSwitchLabel
or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (2)
156
return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.
CasePatternSwitchLabel
or SyntaxKind.LabeledStatement);
403
if (targetToken.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.
CasePatternSwitchLabel
))