public virtual Replacement VisitReplacement(Replacement node) { if (node != null) { } return(node); }
/// <summary> /// Initializes a new instance of the <see cref="Replacement" /> class from the specified instance. /// </summary> /// <param name="other"> /// The instance from which the new instance is to be initialized. /// </param> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="other" /> is null. /// </exception> public Replacement(Replacement other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Init(other.DeletedRegion, other.InsertedContent, other.Properties); }
/// <summary> /// Initializes a new instance of the <see cref="Replacement" /> class from the specified instance. /// </summary> /// <param name="other"> /// The instance from which the new instance is to be initialized. /// </param> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="other" /> is null. /// </exception> public Replacement(Replacement other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Init(other.Offset, other.DeletedLength, other.InsertedBytes); }
/// <summary> /// Initializes a new instance of the <see cref="Replacement" /> class from the specified instance. /// </summary> /// <param name="other"> /// The instance from which the new instance is to be initialized. /// </param> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="other" /> is null. /// </exception> public Replacement(Replacement other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Init(other.Offset, other.DeletedLength, other.InsertedBytes); }
public virtual Replacement VisitReplacement(Replacement node) { if (node != null) { node.DeletedRegion = VisitNullChecked(node.DeletedRegion); node.InsertedContent = VisitNullChecked(node.InsertedContent); } return(node); }
public bool ValueEquals(Replacement other) => ValueComparer.Equals(this, other);
public bool ValueEquals(Replacement other) => ValueComparer.Equals(this, other);