public override SyntaxNode VisitBlock(BlockSyntax node) { if (node.Equals(constructorDeclaration.Body) && assignmentToRemove != null) { return(node.RemoveNode(assignmentToRemove, SyntaxRemoveOptions.KeepNoTrivia)); } return(base.VisitBlock(node)); }