2 references to GetApplicableStatementAncestors
Microsoft.CodeAnalysis.CSharp.Features (2)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (2)
381
ISet<StatementSyntax> allAffectedStatements = new HashSet<StatementSyntax>(matches.SelectMany(expr =>
GetApplicableStatementAncestors
(expr)));
385
var innermostStatements = new HashSet<StatementSyntax>(matches.Select(expr =>
GetApplicableStatementAncestors
(expr).First()));