32 references to WhereClause
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
403case SyntaxKind.WhereClause:
Binder\Binder_Query.cs (2)
138case SyntaxKind.WhereClause: 338case SyntaxKind.WhereClause:
Binder\Binder_QueryErrors.cs (1)
180case SyntaxKind.WhereClause:
Syntax\LambdaUtilities.cs (5)
26case SyntaxKind.WhereClause: 88case SyntaxKind.WhereClause: 175case SyntaxKind.WhereClause: 255if (!clause.IsKind(SyntaxKind.WhereClause) && !clause.IsKind(SyntaxKind.OrderByClause)) 316case SyntaxKind.WhereClause:
Syntax\SyntaxNodeExtensions.cs (1)
46case SyntaxKind.WhereClause:
Syntax\SyntaxNormalizer.cs (1)
281(nextToken.IsKind(SyntaxKind.WhereKeyword) && nextToken.Parent.IsKind(SyntaxKind.WhereClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
375(currentToken.Kind() == SyntaxKind.WhereKeyword && currentToken.Parent.IsKind(SyntaxKind.WhereClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2568token.Parent.IsKind(SyntaxKind.WhereClause))
Microsoft.CodeAnalysis.CSharp.Features (9)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (2)
118case SyntaxKind.WhereClause: 841case SyntaxKind.WhereClause:
EditAndContinue\BreakpointSpans.cs (1)
400case SyntaxKind.WhereClause:
EditAndContinue\SyntaxComparer.cs (1)
483case SyntaxKind.WhereClause:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (5)
26case SyntaxKind.WhereClause: 88case SyntaxKind.WhereClause: 175case SyntaxKind.WhereClause: 255if (!clause.IsKind(SyntaxKind.WhereClause) && !clause.IsKind(SyntaxKind.OrderByClause)) 316case SyntaxKind.WhereClause:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Parsing\ExpressionParsingTests.cs (2)
2430Assert.Equal(SyntaxKind.WhereClause, qs.Body.Clauses[0].Kind()); 4793N(SyntaxKind.WhereClause);
Parsing\PatternParsingTests.cs (2)
360N(SyntaxKind.WhereClause); 385N(SyntaxKind.WhereClause);
Syntax\SeparatedSyntaxListTests.cs (2)
296Assert.Equal(-1, list.IndexOf(SyntaxKind.WhereClause)); 297Assert.False(list.Any(SyntaxKind.WhereClause));
Syntax\SyntaxListTests.cs (2)
283Assert.Equal(-1, list.IndexOf(SyntaxKind.WhereClause)); 284Assert.False(list.Any(SyntaxKind.WhereClause));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
375(currentToken.Kind() == SyntaxKind.WhereKeyword && currentToken.Parent.IsKind(SyntaxKind.WhereClause)) ||
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2568token.Parent.IsKind(SyntaxKind.WhereClause))