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