25 references to GroupKeyword
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_QueryErrors.cs (1)
193clauseKind = SyntaxFacts.GetText(SyntaxKind.GroupKeyword) + " " + SyntaxFacts.GetText(SyntaxKind.ByKeyword);
Parser\LanguageParser.cs (4)
13544case SyntaxKind.GroupKeyword: 13660SyntaxKind.GroupKeyword => this.ParseGroupClause(), 13818Debug.Assert(this.CurrentToken.ContextualKind == SyntaxKind.GroupKeyword); 13820this.EatContextualToken(SyntaxKind.GroupKeyword),
Syntax\SyntaxKindFacts.cs (4)
1187case SyntaxKind.GroupKeyword: 1244case SyntaxKind.GroupKeyword: 1271return SyntaxKind.GroupKeyword; 1711case SyntaxKind.GroupKeyword:
Syntax\SyntaxNormalizer.cs (1)
286(nextToken.IsKind(SyntaxKind.GroupKeyword) && nextToken.Parent.IsKind(SyntaxKind.GroupClause)))
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
380(currentToken.Kind() == SyntaxKind.GroupKeyword && currentToken.Parent.IsKind(SyntaxKind.GroupClause)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
155case SyntaxKind.GroupKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
300case SyntaxKind.GroupKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2590if (token.Kind() is SyntaxKind.GroupKeyword or SyntaxKind.ByKeyword &&
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\GroupKeywordRecommender.cs (1)
14: base(SyntaxKind.GroupKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (4)
257=> InternalSyntaxFactory.GroupClause(InternalSyntaxFactory.Token(SyntaxKind.GroupKeyword), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.ByKeyword), GenerateIdentifierName()); 1714Assert.Equal(SyntaxKind.GroupKeyword, node.GroupKeyword.Kind); 10473=> SyntaxFactory.GroupClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.ByKeyword), GenerateIdentifierName()); 11930Assert.Equal(SyntaxKind.GroupKeyword, node.GroupKeyword.Kind());
Parsing\ExpressionParsingTests.cs (1)
2750Assert.Equal(SyntaxKind.GroupKeyword, gbs.GroupKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
91case SyntaxKind.GroupKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
380(currentToken.Kind() == SyntaxKind.GroupKeyword && currentToken.Parent.IsKind(SyntaxKind.GroupClause)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
155case SyntaxKind.GroupKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
300case SyntaxKind.GroupKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2590if (token.Kind() is SyntaxKind.GroupKeyword or SyntaxKind.ByKeyword &&