71 references to SelectClause
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
360case SyntaxKind.SelectClause:
Binder\Binder_Query.cs (4)
155case SyntaxKind.SelectClause: 222case SyntaxKind.SelectClause: 412if (state.clauses.IsEmpty() && state.selectOrGroup.Kind() == SyntaxKind.SelectClause) 599if (state.clauses.IsEmpty() && state.selectOrGroup.IsKind(SyntaxKind.SelectClause))
Binder\Binder_QueryErrors.cs (1)
177case SyntaxKind.SelectClause:
Syntax\LambdaUtilities.cs (5)
34case SyntaxKind.SelectClause: 95case SyntaxKind.SelectClause: 184case SyntaxKind.SelectClause: 248if (selectOrGroupClause.IsKind(SyntaxKind.SelectClause) && containingBody.Clauses.Count == 0) 325case SyntaxKind.SelectClause:
Syntax\SyntaxNodeExtensions.cs (1)
45case SyntaxKind.SelectClause:
Syntax\SyntaxNormalizer.cs (1)
285(nextToken.IsKind(SyntaxKind.SelectKeyword) && nextToken.Parent.IsKind(SyntaxKind.SelectClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
379(currentToken.Kind() == SyntaxKind.SelectKeyword && currentToken.Parent.IsKind(SyntaxKind.SelectClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2583token.Parent.IsKind(SyntaxKind.SelectClause))
Microsoft.CodeAnalysis.CSharp.Features (8)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
209case SyntaxKind.SelectClause:
EditAndContinue\BreakpointSpans.cs (1)
410case SyntaxKind.SelectClause:
EditAndContinue\SyntaxComparer.cs (1)
493case SyntaxKind.SelectClause:
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (5)
34case SyntaxKind.SelectClause: 95case SyntaxKind.SelectClause: 184case SyntaxKind.SelectClause: 248if (selectOrGroupClause.IsKind(SyntaxKind.SelectClause) && containingBody.Clauses.Count == 0) 325case SyntaxKind.SelectClause:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\QueryTests.cs (3)
2384var selectClause = tree.GetCompilationUnitRoot().DescendantNodes().Where(n => n.IsKind(SyntaxKind.SelectClause)).Single() as SelectClauseSyntax; 2484var selectClause = tree.GetCompilationUnitRoot().DescendantNodes().Where(n => n.IsKind(SyntaxKind.SelectClause)).Single() as SelectClauseSyntax; 2548var selectClause = tree.GetCompilationUnitRoot().DescendantNodes().Where(n => n.IsKind(SyntaxKind.SelectClause)).Single() as SelectClauseSyntax;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
8268var selectClauseNode = tree.FindNodeOrTokenByKind(SyntaxKind.SelectClause).AsNode() as SelectClauseSyntax;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (42)
Parsing\CollectionExpressionParsingTests.cs (5)
2178N(SyntaxKind.SelectClause); 2240N(SyntaxKind.SelectClause); 2286N(SyntaxKind.SelectClause); 2314N(SyntaxKind.SelectClause); 5781N(SyntaxKind.SelectClause);
Parsing\ExpressionParsingTests.cs (26)
2313Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2347Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2369Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2380Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2397Assert.Equal(SyntaxKind.SelectClause, qs.Body.Continuation.Body.SelectOrGroup.Kind()); 2438Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2469Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2481Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2512Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2526Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2557Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2571Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2602Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2620Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2651Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2668Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2699Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2716Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2807Assert.Equal(SyntaxKind.SelectClause, qs.Body.Continuation.Body.SelectOrGroup.Kind()); 2864Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2919Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 2976Assert.Equal(SyntaxKind.SelectClause, qs.Body.SelectOrGroup.Kind()); 4817N(SyntaxKind.SelectClause); 6861N(SyntaxKind.SelectClause); 6923N(SyntaxKind.SelectClause); 7008M(SyntaxKind.SelectClause);
Parsing\NullableParsingTests.cs (1)
1249N(SyntaxKind.SelectClause);
Parsing\PatternParsingTests.cs (1)
408N(SyntaxKind.SelectClause);
Parsing\ScriptParsingTests.cs (8)
8168M(SyntaxKind.SelectClause); 8325M(SyntaxKind.SelectClause); 8850M(SyntaxKind.SelectClause); 8910M(SyntaxKind.SelectClause); 8970M(SyntaxKind.SelectClause); 9038M(SyntaxKind.SelectClause); 9086M(SyntaxKind.SelectClause); 9149M(SyntaxKind.SelectClause);
Parsing\StatementAttributeParsingTests.cs (1)
5696N(SyntaxKind.SelectClause);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
379(currentToken.Kind() == SyntaxKind.SelectKeyword && currentToken.Parent.IsKind(SyntaxKind.SelectClause)) ||
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2583token.Parent.IsKind(SyntaxKind.SelectClause))