public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj.GetType() != GetType()) { return(false); } var other = (InterfaceImplementationPropertyInformation)obj; return(_implementationPropertyInfo.Equals(other._implementationPropertyInfo) && _declarationPropertyInfo.Equals(other._declarationPropertyInfo)); }