internal DeconstructionAssignmentCSharpExpression(Type type, TupleLiteralCSharpExpression left, Expression right, DeconstructionConversion conversion)
 {
     Type       = type;
     Left       = left;
     Right      = right;
     Conversion = conversion;
 }
 /// <summary>
 /// Visits the children of the <see cref="DeconstructionConversion" />.
 /// </summary>
 /// <param name="node">The conversion to visit.</param>
 /// <returns>The modified conversion, if it or any subexpression was modified; otherwise, returns the original conversion.</returns>
 protected internal virtual Conversion VisitDeconstructionConversion(DeconstructionConversion node)
 {
     return(node.Update(VisitAndConvert(node.Deconstruct, nameof(VisitDeconstructionConversion)), Visit(node.Conversions, VisitConversion)));
 }
        /// <summary>
        /// Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.
        /// </summary>
        /// <param name="left">The <see cref="Left" /> property of the result. </param>
        /// <param name="right">The <see cref="Right" /> property of the result. </param>
        /// <param name="conversion">The <see cref="Conversion" /> property of the result. </param>
        /// <returns>This expression if no children changed, or an expression with the updated children.</returns>
        public DeconstructionAssignmentCSharpExpression Update(TupleLiteralCSharpExpression left, Expression right, DeconstructionConversion conversion)
        {
            if (left == Left && right == Right && conversion == Conversion)
            {
                return(this);
            }

            return(CSharpExpression.DeconstructionAssignment(Type, left, right, Conversion));
        }