void ComputeHashCode()
 {
     _hashCode  = Name.GetHashCode();
     _hashCode ^= FriendlyName.GetHashCode();
     _hashCode ^= NameFormat.GetHashCode();
     _hashCode ^= Namespace.GetHashCode();
     _hashCode ^= ValueType.GetHashCode();
     _hashCode ^= OriginalIssuer.GetHashCode();
 }
            int ComputeHashCode()
            {
                int hashCode = Name.GetHashCode();

                hashCode ^= FriendlyName.GetHashCode();
                hashCode ^= NameFormat.GetHashCode();
                hashCode ^= Namespace.GetHashCode();
                hashCode ^= ValueType.GetHashCode();
                hashCode ^= OriginalIssuer.GetHashCode();
                return(hashCode);
            }
        public virtual int _GetUniqueIdentifier()
        {
            var hashCode = 399326290;

            hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (ClaimType?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (ClaimValue?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (ClaimValueType?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (Issuer?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (OriginalIssuer?.GetHashCode() ?? 0);
            return(hashCode);
        }