3 references to IsAnyQueryClause
Microsoft.CodeAnalysis.CSharp.Features (3)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceQueryLocal.cs (3)
42
matches.Select(expr => expr.GetAncestorsOrThis<SyntaxNode>().First(
IsAnyQueryClause
)));
58
var allAffectedClauses = new HashSet<SyntaxNode>(matches.SelectMany(expr => expr.GetAncestorsOrThis<SyntaxNode>().Where(
IsAnyQueryClause
)));
84
var oldClause = expression.GetAncestors<SyntaxNode>().First(
IsAnyQueryClause
);