47 references to SelectKeyword
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_QueryErrors.cs (1)
178
clauseKind = SyntaxFacts.GetText(SyntaxKind.
SelectKeyword
);
Parser\LanguageParser.cs (5)
13480
case SyntaxKind.
SelectKeyword
:
13594
SyntaxKind.
SelectKeyword
=> this.ParseSelectClause(),
13597
this.EatToken(SyntaxKind.
SelectKeyword
, ErrorCode.ERR_ExpectedSelectOrGroup),
13745
Debug.Assert(this.CurrentToken.ContextualKind == SyntaxKind.
SelectKeyword
);
13747
this.EatContextualToken(SyntaxKind.
SelectKeyword
),
Syntax\SyntaxKindFacts.cs (4)
1193
case SyntaxKind.
SelectKeyword
:
1243
case SyntaxKind.
SelectKeyword
:
1283
return SyntaxKind.
SelectKeyword
;
1723
case SyntaxKind.
SelectKeyword
:
Syntax\SyntaxNormalizer.cs (1)
285
(nextToken.IsKind(SyntaxKind.
SelectKeyword
) && nextToken.Parent.IsKind(SyntaxKind.SelectClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
379
(currentToken.Kind() == SyntaxKind.
SelectKeyword
&& currentToken.Parent.IsKind(SyntaxKind.SelectClause)) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
156
case SyntaxKind.
SelectKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
294
case SyntaxKind.
SelectKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2582
if (token.IsKind(SyntaxKind.
SelectKeyword
) &&
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\SelectKeywordRecommender.cs (1)
14
: base(SyntaxKind.
SelectKeyword
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (25)
Generated\Syntax.Test.xml.Generated.cs (4)
254
=> InternalSyntaxFactory.SelectClause(InternalSyntaxFactory.Token(SyntaxKind.
SelectKeyword
), GenerateIdentifierName());
1703
Assert.Equal(SyntaxKind.
SelectKeyword
, node.SelectKeyword.Kind);
10470
=> SyntaxFactory.SelectClause(SyntaxFactory.Token(SyntaxKind.
SelectKeyword
), GenerateIdentifierName());
11919
Assert.Equal(SyntaxKind.
SelectKeyword
, node.SelectKeyword.Kind());
Parsing\CollectionExpressionParsingTests.cs (5)
2180
N(SyntaxKind.
SelectKeyword
);
2242
N(SyntaxKind.
SelectKeyword
);
2288
N(SyntaxKind.
SelectKeyword
);
2316
N(SyntaxKind.
SelectKeyword
);
5783
N(SyntaxKind.
SelectKeyword
);
Parsing\ExpressionParsingTests.cs (5)
2316
Assert.Equal(SyntaxKind.
SelectKeyword
, ss.SelectKeyword.Kind());
4819
N(SyntaxKind.
SelectKeyword
);
6863
N(SyntaxKind.
SelectKeyword
);
6925
N(SyntaxKind.
SelectKeyword
);
7010
M(SyntaxKind.
SelectKeyword
);
Parsing\NullableParsingTests.cs (1)
1251
N(SyntaxKind.
SelectKeyword
);
Parsing\PatternParsingTests.cs (1)
410
N(SyntaxKind.
SelectKeyword
);
Parsing\ScriptParsingTests.cs (8)
8170
M(SyntaxKind.
SelectKeyword
);
8327
M(SyntaxKind.
SelectKeyword
);
8852
M(SyntaxKind.
SelectKeyword
);
8912
M(SyntaxKind.
SelectKeyword
);
8972
M(SyntaxKind.
SelectKeyword
);
9040
M(SyntaxKind.
SelectKeyword
);
9088
M(SyntaxKind.
SelectKeyword
);
9151
M(SyntaxKind.
SelectKeyword
);
Parsing\StatementAttributeParsingTests.cs (1)
5698
N(SyntaxKind.
SelectKeyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Formatting\CSharpSyntaxFormattingService.cs (1)
302
't' => kind == SyntaxKind.
SelectKeyword
,
Simplification\Reducers\CSharpEscapingReducer.cs (1)
90
case SyntaxKind.
SelectKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
379
(currentToken.Kind() == SyntaxKind.
SelectKeyword
&& currentToken.Parent.IsKind(SyntaxKind.SelectClause)) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
156
case SyntaxKind.
SelectKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
294
case SyntaxKind.
SelectKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2582
if (token.IsKind(SyntaxKind.
SelectKeyword
) &&