26 references to OrderByClause
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
407case SyntaxKind.OrderByClause:
Binder\Binder_Query.cs (2)
142case SyntaxKind.OrderByClause: 344case SyntaxKind.OrderByClause:
Binder\Binder_QueryErrors.cs (1)
183case SyntaxKind.OrderByClause:
Syntax\LambdaUtilities.cs (1)
255if (!clause.IsKind(SyntaxKind.WhereClause) && !clause.IsKind(SyntaxKind.OrderByClause))
Syntax\SyntaxNodeExtensions.cs (1)
42case SyntaxKind.OrderByClause:
Syntax\SyntaxNormalizer.cs (1)
284(nextToken.IsKind(SyntaxKind.OrderByKeyword) && nextToken.Parent.IsKind(SyntaxKind.OrderByClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
378(currentToken.Kind() == SyntaxKind.OrderByKeyword && currentToken.Parent.IsKind(SyntaxKind.OrderByClause)) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
528if (token.Kind() == SyntaxKind.CommaToken && token.Parent.IsKind(SyntaxKind.OrderByClause))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2576token.Parent.IsKind(SyntaxKind.OrderByClause))
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\BreakpointSpans.cs (1)
404case SyntaxKind.OrderByClause:
EditAndContinue\SyntaxComparer.cs (1)
486case SyntaxKind.OrderByClause:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (1)
255if (!clause.IsKind(SyntaxKind.WhereClause) && !clause.IsKind(SyntaxKind.OrderByClause))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Parsing\ExpressionParsingTests.cs (4)
2559Assert.Equal(SyntaxKind.OrderByClause, qs.Body.Clauses[0].Kind()); 2604Assert.Equal(SyntaxKind.OrderByClause, qs.Body.Clauses[0].Kind()); 2653Assert.Equal(SyntaxKind.OrderByClause, qs.Body.Clauses[0].Kind()); 2701Assert.Equal(SyntaxKind.OrderByClause, qs.Body.Clauses[0].Kind());
Parsing\ParsingErrorRecoveryTests.cs (6)
6648Assert.Equal(SyntaxKind.OrderByClause, qx.Body.Clauses[0].Kind()); 6693Assert.Equal(SyntaxKind.OrderByClause, qx.Body.Clauses[0].Kind()); 6737Assert.Equal(SyntaxKind.OrderByClause, qx.Body.Clauses[0].Kind()); 6787Assert.Equal(SyntaxKind.OrderByClause, qx.Body.Clauses[0].Kind()); 6835Assert.Equal(SyntaxKind.OrderByClause, qx.Body.Clauses[0].Kind()); 6882Assert.Equal(SyntaxKind.OrderByClause, qx.Body.Clauses[0].Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
378(currentToken.Kind() == SyntaxKind.OrderByKeyword && currentToken.Parent.IsKind(SyntaxKind.OrderByClause)) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
528if (token.Kind() == SyntaxKind.CommaToken && token.Parent.IsKind(SyntaxKind.OrderByClause))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2576token.Parent.IsKind(SyntaxKind.OrderByClause))