27 references to WhenClause
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
591case SyntaxKind.WhenClause:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
257if (nodeParent.IsKind(SyntaxKind.WhenClause))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2672if (token.IsKind(SyntaxKind.WhenKeyword) && token.Parent.IsKind(SyntaxKind.WhenClause))
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\BreakpointSpans.cs (1)
311case SyntaxKind.WhenClause:
EditAndContinue\SyntaxComparer.cs (1)
428case SyntaxKind.WhenClause:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (18)
Parsing\ExpressionParsingTests.cs (1)
4871N(SyntaxKind.WhenClause);
Parsing\PatternParsingTests.cs (5)
1709N(SyntaxKind.WhenClause); 1820N(SyntaxKind.WhenClause); 2908N(SyntaxKind.WhenClause); 2959N(SyntaxKind.WhenClause); 5583N(SyntaxKind.WhenClause);
Parsing\StatementParsingTests.cs (6)
4346N(SyntaxKind.WhenClause); 4510N(SyntaxKind.WhenClause); 4701N(SyntaxKind.WhenClause); 5638N(SyntaxKind.WhenClause); 5708N(SyntaxKind.WhenClause); 5783N(SyntaxKind.WhenClause);
Parsing\SwitchExpressionParsingTests.cs (6)
4481N(SyntaxKind.WhenClause); 4542N(SyntaxKind.WhenClause); 4604N(SyntaxKind.WhenClause); 4669N(SyntaxKind.WhenClause); 4736N(SyntaxKind.WhenClause); 4806N(SyntaxKind.WhenClause);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Classification\ClassificationHelpers.cs (1)
134case SyntaxKind.WhenClause:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
591case SyntaxKind.WhenClause:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
257if (nodeParent.IsKind(SyntaxKind.WhenClause))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2672if (token.IsKind(SyntaxKind.WhenKeyword) && token.Parent.IsKind(SyntaxKind.WhenClause))