public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Url.Length != 0) { hash ^= Url.GetHashCode(); } if (Title.Length != 0) { hash ^= Title.GetHashCode(); } if (Type != global::PKIo.LinkType.UriDoNotUse) { hash ^= Type.GetHashCode(); } if (localizedLink_ != null) { hash ^= LocalizedLink.GetHashCode(); } if (localizedTitle_ != null) { hash ^= LocalizedTitle.GetHashCode(); } hash ^= usage_.GetHashCode(); if (Position != 0) { hash ^= Position.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }