25 references to GroupKeyword
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_QueryErrors.cs (1)
193
clauseKind = SyntaxFacts.GetText(SyntaxKind.
GroupKeyword
) + " " + SyntaxFacts.GetText(SyntaxKind.ByKeyword);
Parser\LanguageParser.cs (4)
13479
case SyntaxKind.
GroupKeyword
:
13595
SyntaxKind.
GroupKeyword
=> this.ParseGroupClause(),
13753
Debug.Assert(this.CurrentToken.ContextualKind == SyntaxKind.
GroupKeyword
);
13755
this.EatContextualToken(SyntaxKind.
GroupKeyword
),
Syntax\SyntaxKindFacts.cs (4)
1187
case SyntaxKind.
GroupKeyword
:
1244
case SyntaxKind.
GroupKeyword
:
1271
return SyntaxKind.
GroupKeyword
;
1711
case 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)
155
case SyntaxKind.
GroupKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
293
case SyntaxKind.
GroupKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2590
if (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());
1714
Assert.Equal(SyntaxKind.
GroupKeyword
, node.GroupKeyword.Kind);
10473
=> SyntaxFactory.GroupClause(SyntaxFactory.Token(SyntaxKind.
GroupKeyword
), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.ByKeyword), GenerateIdentifierName());
11930
Assert.Equal(SyntaxKind.
GroupKeyword
, node.GroupKeyword.Kind());
Parsing\ExpressionParsingTests.cs (1)
2750
Assert.Equal(SyntaxKind.
GroupKeyword
, gbs.GroupKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
91
case 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)
155
case SyntaxKind.
GroupKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
293
case SyntaxKind.
GroupKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2590
if (token.Kind() is SyntaxKind.
GroupKeyword
or SyntaxKind.ByKeyword &&