public override object Clone() { XAttributeTimestamp clone = (XAttributeTimestamp)base.Clone(); clone.value = new DateTime(clone.value.Ticks); return(clone); }
public override bool Equals(object obj) { if (obj == this) { return(true); } if (obj is XAttributeTimestamp) { XAttributeTimestamp other = (XAttributeTimestamp)obj; return((base.Equals(other)) && (this.value.Equals(other.value))); } return(false); }