29 references to CasePatternSwitchLabel
Microsoft.CodeAnalysis.CSharp (11)
_generated\1\Syntax.xml.Internal.Generated.cs (2)
31611return new CasePatternSwitchLabelSyntax(SyntaxKind.CasePatternSwitchLabel, keyword, pattern, whenClause, colonToken, this.context); 37038return new CasePatternSwitchLabelSyntax(SyntaxKind.CasePatternSwitchLabel, keyword, pattern, whenClause, colonToken);
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
8697/// <item><description><see cref="SyntaxKind.CasePatternSwitchLabel"/></description></item>
Binder\ExpressionVariableFinder.cs (1)
143case SyntaxKind.CasePatternSwitchLabel:
Binder\LocalBinderFactory.cs (1)
760case SyntaxKind.CasePatternSwitchLabel:
Binder\SwitchBinder.cs (1)
223case SyntaxKind.CasePatternSwitchLabel:
Binder\SwitchBinder_Patterns.cs (1)
277case SyntaxKind.CasePatternSwitchLabel:
FlowAnalysis\AbstractFlowPass_Switch.cs (1)
110if (label.Kind() == SyntaxKind.CasePatternSwitchLabel)
Symbols\Source\SourceLocalSymbol.cs (3)
198nodeToBind.Kind() == SyntaxKind.CasePatternSwitchLabel || 814nodeToBind.Kind() == SyntaxKind.CasePatternSwitchLabel || 858case SyntaxKind.CasePatternSwitchLabel:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
284nodeParent.IsParentKind(SyntaxKind.CasePatternSwitchLabel))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
452SyntaxKind.CasePatternSwitchLabel or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
162case SyntaxKind.CasePatternSwitchLabel:
src\roslyn\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 (4)
EditAndContinue\BreakpointSpans.cs (1)
290case SyntaxKind.CasePatternSwitchLabel:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1920case SyntaxKind.CasePatternSwitchLabel:
EditAndContinue\SyntaxComparer.cs (1)
433case SyntaxKind.CasePatternSwitchLabel:
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
162case SyntaxKind.CasePatternSwitchLabel:
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (1)
120case SyntaxKind.CasePatternSwitchLabel:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
284nodeParent.IsParentKind(SyntaxKind.CasePatternSwitchLabel))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
452SyntaxKind.CasePatternSwitchLabel or
src\roslyn\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))
Roslyn.Diagnostics.CSharp.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
284nodeParent.IsParentKind(SyntaxKind.CasePatternSwitchLabel))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
452SyntaxKind.CasePatternSwitchLabel or
src\roslyn\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))