private Write CreateWrite(List <Node> parameters) { parameters.CheckLength(1); var node = new Write { Arguments = ((NodeList)parameters[0]).Nodes.Cast <Expression>().ToList() }; node.AddChildren(node.Arguments?.ToArray()); return(node); }