public override object Clone() { XAttributeLiteral clone = (XAttributeLiteral)base.Clone(); clone.value = string.Copy(this.value); return(clone); }
public override bool Equals(object obj) { if (obj == this) { return(true); } if (obj is XAttributeLiteral) { XAttributeLiteral other = (XAttributeLiteral)obj; return((base.Equals(other)) && (this.value.Equals(other.value))); } return(false); }