/// <summary cref="IEncodeable.IsEqual(IEncodeable)" /> public override bool IsEqual(IEncodeable encodeable) { if (Object.ReferenceEquals(this, encodeable)) { return(true); } DataType2 value = encodeable as DataType2; if (value == null) { return(false); } if (!base.IsEqual(encodeable)) { return(false); } if (!Utils.IsEqual(m_stringField, value.m_stringField)) { return(false); } return(true); }
/// <summary cref="ICloneable.Clone" /> public override object Clone() { DataType2 clone = (DataType2)base.Clone(); clone.m_stringField = (string)Utils.Clone(this.m_stringField); return(clone); }