/// <summary> /// Creates a new conversion that is like this one, but using the supplied children. If all of the children are the same, it will return this conversion. /// </summary> /// <param name="conversion">The <see cref="Conversion" /> property of the result.</param> /// <returns>This conversion if no children changed, or an conversion with the updated children.</returns> public SimpleConversion Update(LambdaExpression conversion) { if (conversion == Conversion) { return(this); } return(CSharpExpression.Convert(conversion)); }