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