public override bool Equals(object obj) { if (obj == this) { return(true); } IDReferencePropertyAttribute attribute = obj as IDReferencePropertyAttribute; return((attribute != null) && (this.ReferencedControlType == attribute.ReferencedControlType)); }
/// <internalonly/> public override bool Equals(object obj) { if (obj == this) { return(true); } IDReferencePropertyAttribute other = obj as IDReferencePropertyAttribute; if (other != null) { return(ReferencedControlType == other.ReferencedControlType); } return(false); }