public override int GetHashCode() { unchecked { var hashCode = (_publicProperties != null ? _publicProperties.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Id != null ? Id.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DisplayName != null ? DisplayName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AvatarUrl != null ? AvatarUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Identities != null ? Identities.GetHashCode() : 0); return(hashCode); } }