25 references to OrderByKeyword
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_QueryErrors.cs (1)
186clauseKind = SyntaxFacts.GetText(SyntaxKind.OrderByKeyword);
Parser\LanguageParser.cs (4)
13478case SyntaxKind.OrderByKeyword: 13583case SyntaxKind.OrderByKeyword: 13682Debug.Assert(this.CurrentToken.ContextualKind == SyntaxKind.OrderByKeyword); 13683var @orderby = this.EatContextualToken(SyntaxKind.OrderByKeyword);
Syntax\SyntaxKindFacts.cs (4)
1198case SyntaxKind.OrderByKeyword: 1246case SyntaxKind.OrderByKeyword: 1293return SyntaxKind.OrderByKeyword; 1733case SyntaxKind.OrderByKeyword:
Syntax\SyntaxNormalizer.cs (1)
284(nextToken.IsKind(SyntaxKind.OrderByKeyword) && nextToken.Parent.IsKind(SyntaxKind.OrderByClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (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\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
154case SyntaxKind.OrderByKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
286case SyntaxKind.OrderByKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2575if (token.Kind() is SyntaxKind.OrderByKeyword or SyntaxKind.CommaToken &&
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\OrderByKeywordRecommender.cs (1)
14: base(SyntaxKind.OrderByKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (4)
248=> InternalSyntaxFactory.OrderByClause(InternalSyntaxFactory.Token(SyntaxKind.OrderByKeyword), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.OrderingSyntax>()); 1681Assert.Equal(SyntaxKind.OrderByKeyword, node.OrderByKeyword.Kind); 10464=> SyntaxFactory.OrderByClause(SyntaxFactory.Token(SyntaxKind.OrderByKeyword), new SeparatedSyntaxList<OrderingSyntax>()); 11897Assert.Equal(SyntaxKind.OrderByKeyword, node.OrderByKeyword.Kind());
Parsing\ExpressionParsingTests.cs (1)
2562Assert.Equal(SyntaxKind.OrderByKeyword, obs.OrderByKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
93case SyntaxKind.OrderByKeyword:
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\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
154case SyntaxKind.OrderByKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
286case SyntaxKind.OrderByKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2575if (token.Kind() is SyntaxKind.OrderByKeyword or SyntaxKind.CommaToken &&