66 references to SelectClause
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
360
case SyntaxKind.
SelectClause
:
Binder\Binder_Query.cs (4)
155
case SyntaxKind.
SelectClause
:
222
case SyntaxKind.
SelectClause
:
412
if (state.clauses.IsEmpty() && state.selectOrGroup.Kind() == SyntaxKind.
SelectClause
)
599
if (state.clauses.IsEmpty() && state.selectOrGroup.IsKind(SyntaxKind.
SelectClause
))
Binder\Binder_QueryErrors.cs (1)
177
case SyntaxKind.
SelectClause
:
Syntax\LambdaUtilities.cs (5)
34
case SyntaxKind.
SelectClause
:
95
case SyntaxKind.
SelectClause
:
184
case SyntaxKind.
SelectClause
:
248
if (selectOrGroupClause.IsKind(SyntaxKind.
SelectClause
) && containingBody.Clauses.Count == 0)
325
case SyntaxKind.
SelectClause
:
Syntax\SyntaxNodeExtensions.cs (1)
45
case SyntaxKind.
SelectClause
:
Syntax\SyntaxNormalizer.cs (1)
285
(nextToken.IsKind(SyntaxKind.SelectKeyword) && nextToken.Parent.IsKind(SyntaxKind.
SelectClause
)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
ElasticTriviaFormattingRule.cs (1)
366
(currentToken.Kind() == SyntaxKind.SelectKeyword && currentToken.Parent.IsKind(SyntaxKind.
SelectClause
)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
2594
token.Parent.IsKind(SyntaxKind.
SelectClause
))
Microsoft.CodeAnalysis.CSharp.Features (11)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
215
case SyntaxKind.
SelectClause
:
EditAndContinue\BreakpointSpans.cs (1)
304
case SyntaxKind.
SelectClause
:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (3)
1519
case SyntaxKind.
SelectClause
:
1874
case SyntaxKind.
SelectClause
:
2165
case SyntaxKind.
SelectClause
:
EditAndContinue\SyntaxComparer.cs (1)
492
case SyntaxKind.
SelectClause
:
LambdaUtilities.cs (5)
34
case SyntaxKind.
SelectClause
:
95
case SyntaxKind.
SelectClause
:
184
case SyntaxKind.
SelectClause
:
248
if (selectOrGroupClause.IsKind(SyntaxKind.
SelectClause
) && containingBody.Clauses.Count == 0)
325
case SyntaxKind.
SelectClause
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\QueryTests.cs (3)
2384
var selectClause = tree.GetCompilationUnitRoot().DescendantNodes().Where(n => n.IsKind(SyntaxKind.
SelectClause
)).Single() as SelectClauseSyntax;
2484
var selectClause = tree.GetCompilationUnitRoot().DescendantNodes().Where(n => n.IsKind(SyntaxKind.
SelectClause
)).Single() as SelectClauseSyntax;
2548
var selectClause = tree.GetCompilationUnitRoot().DescendantNodes().Where(n => n.IsKind(SyntaxKind.
SelectClause
)).Single() as SelectClauseSyntax;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
8268
var selectClauseNode = tree.FindNodeOrTokenByKind(SyntaxKind.
SelectClause
).AsNode() as SelectClauseSyntax;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (34)
Parsing\ExpressionParsingTests.cs (23)
2313
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2347
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2369
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2380
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2397
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.Continuation.Body.SelectOrGroup.Kind());
2438
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2469
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2481
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2512
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2526
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2557
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2571
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2602
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2620
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2651
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2668
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2699
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2716
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2807
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.Continuation.Body.SelectOrGroup.Kind());
2864
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2919
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
2976
Assert.Equal(SyntaxKind.
SelectClause
, qs.Body.SelectOrGroup.Kind());
4817
N(SyntaxKind.
SelectClause
);
Parsing\NullableParsingTests.cs (1)
1247
N(SyntaxKind.
SelectClause
);
Parsing\PatternParsingTests.cs (1)
408
N(SyntaxKind.
SelectClause
);
Parsing\ScriptParsingTests.cs (8)
8168
M(SyntaxKind.
SelectClause
);
8325
M(SyntaxKind.
SelectClause
);
8850
M(SyntaxKind.
SelectClause
);
8910
M(SyntaxKind.
SelectClause
);
8970
M(SyntaxKind.
SelectClause
);
9038
M(SyntaxKind.
SelectClause
);
9086
M(SyntaxKind.
SelectClause
);
9149
M(SyntaxKind.
SelectClause
);
Parsing\StatementAttributeParsingTests.cs (1)
5681
N(SyntaxKind.
SelectClause
);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
ElasticTriviaFormattingRule.cs (1)
366
(currentToken.Kind() == SyntaxKind.SelectKeyword && currentToken.Parent.IsKind(SyntaxKind.
SelectClause
)) ||
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
2594
token.Parent.IsKind(SyntaxKind.
SelectClause
))