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