virtual TElementInit VisitElementInit(ElementInitAlias node) { if (node == null) { throw new ArgumentNullException(nameof(node)); } var a = Visit(node.Arguments); return(MakeElementInit(node, a)); }
/// <summary> /// Makes an element initializer object representing a ElementInit object with the given children. /// </summary> /// <param name="node">Original element initializer.</param> /// <param name="arguments">Argument expressions.</param> /// <returns>Representation of the original element initializer.</returns> protected abstract TElementInit MakeElementInit(ElementInitAlias node, ReadOnlyCollection <TExpression> arguments);