26 references to ReplaceStatementsIfNeeded
Microsoft.CodeAnalysis.VisualBasic.Features (26)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (26)
106WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 116WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 126WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 136WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 146WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 155WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 164WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 173WithStatements(ReplaceStatementsIfNeeded(node.Statements)) 184VisitList(ReplaceStatementsIfNeeded(node.Statements, colon:=True)), 194Return SyntaxFactory.SingleLineElseClause(node.ElseKeyword, VisitList(ReplaceStatementsIfNeeded(node.Statements, colon:=True))) 203WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 212WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 221WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 230WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 239WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 248WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 267WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))) 276WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))). 286WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))). 296WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))). 306Return node.WithBody(VisitList(ReplaceStatementsIfNeeded(body, colon:=True)).First()). 315Return node.WithStatements(VisitList(ReplaceStatementsIfNeeded(node.Statements))). 387Return node.WithMembers(VisitList(ReplaceStatementsIfNeeded(node.Members))) 396Return node.WithMembers(VisitList(ReplaceStatementsIfNeeded(node.Members))) 405Return node.WithMembers(VisitList(ReplaceStatementsIfNeeded(node.Members))) 414Return node.WithMembers(VisitList(ReplaceStatementsIfNeeded(node.Members)))