58 references to QueryExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
755
case SyntaxKind.
QueryExpression
:
Operations\CSharpOperationFactory.cs (1)
2783
if (boundQueryClause.Syntax.Kind() != SyntaxKind.
QueryExpression
)
Parser\LanguageParser.cs (1)
10688
case SyntaxKind.
QueryExpression
:
Syntax\LambdaUtilities.cs (3)
40
return !node.Parent.IsKind(SyntaxKind.
QueryExpression
);
230
if (containingQueryOrContinuation.IsKind(SyntaxKind.
QueryExpression
))
298
if (node.Parent.IsKind(SyntaxKind.
QueryExpression
))
Syntax\SyntaxNodeExtensions.cs (1)
44
case SyntaxKind.
QueryExpression
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
109
public int QueryExpression => (int)SyntaxKind.
QueryExpression
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
498
if (node.IsKind(SyntaxKind.
QueryExpression
))
Microsoft.CodeAnalysis.CSharp.Features (4)
EditAndContinue\SyntaxComparer.cs (1)
467
if (node == null || node.Parent.IsKind(SyntaxKind.
QueryExpression
))
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (3)
40
return !node.Parent.IsKind(SyntaxKind.
QueryExpression
);
230
if (containingQueryOrContinuation.IsKind(SyntaxKind.
QueryExpression
))
298
if (node.Parent.IsKind(SyntaxKind.
QueryExpression
))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (43)
Parsing\CollectionExpressionParsingTests.cs (5)
2164
N(SyntaxKind.
QueryExpression
);
2226
N(SyntaxKind.
QueryExpression
);
2272
N(SyntaxKind.
QueryExpression
);
2300
N(SyntaxKind.
QueryExpression
);
5767
N(SyntaxKind.
QueryExpression
);
Parsing\ExpressionParsingTests.cs (21)
2296
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2329
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2362
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2413
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2453
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2496
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2541
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2586
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2635
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2683
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2731
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2770
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2823
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2879
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2934
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
2991
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
3042
Assert.Equal(SyntaxKind.
QueryExpression
, expr.Kind());
4779
N(SyntaxKind.
QueryExpression
);
6847
N(SyntaxKind.
QueryExpression
);
6909
N(SyntaxKind.
QueryExpression
);
6990
N(SyntaxKind.
QueryExpression
);
Parsing\NullableParsingTests.cs (1)
1215
N(SyntaxKind.
QueryExpression
);
Parsing\ParsingErrorRecoveryTests.cs (6)
6644
Assert.Equal(SyntaxKind.
QueryExpression
, ds.Declaration.Variables[0].Initializer.Value.Kind());
6689
Assert.Equal(SyntaxKind.
QueryExpression
, ds.Declaration.Variables[0].Initializer.Value.Kind());
6733
Assert.Equal(SyntaxKind.
QueryExpression
, ds.Declaration.Variables[0].Initializer.Value.Kind());
6783
Assert.Equal(SyntaxKind.
QueryExpression
, ds.Declaration.Variables[0].Initializer.Value.Kind());
6831
Assert.Equal(SyntaxKind.
QueryExpression
, ds.Declaration.Variables[0].Initializer.Value.Kind());
6878
Assert.Equal(SyntaxKind.
QueryExpression
, ds.Declaration.Variables[0].Initializer.Value.Kind());
Parsing\PatternParsingTests.cs (1)
346
N(SyntaxKind.
QueryExpression
);
Parsing\ScriptParsingTests.cs (8)
8150
N(SyntaxKind.
QueryExpression
);
8307
N(SyntaxKind.
QueryExpression
);
8832
N(SyntaxKind.
QueryExpression
);
8888
N(SyntaxKind.
QueryExpression
);
8948
N(SyntaxKind.
QueryExpression
);
9008
N(SyntaxKind.
QueryExpression
);
9072
N(SyntaxKind.
QueryExpression
);
9123
N(SyntaxKind.
QueryExpression
);
Parsing\StatementAttributeParsingTests.cs (1)
5682
N(SyntaxKind.
QueryExpression
);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
109
public int QueryExpression => (int)SyntaxKind.
QueryExpression
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
498
if (node.IsKind(SyntaxKind.
QueryExpression
))