Пример #1
0
        public override int GetHashCode()
        {
            var hash = 1;

            if (HasAppBundleId)
            {
                hash ^= AppBundleId.GetHashCode();
            }

            if (HasAndroidPackage)
            {
                hash ^= AndroidPackage.GetHashCode();
            }

            if (HasVerificationKeyVersion)
            {
                hash ^= VerificationKeyVersion.GetHashCode();
            }

            if (HasVerificationKeyId)
            {
                hash ^= VerificationKeyId.GetHashCode();
            }

            if (HasSignatureAlgorithm)
            {
                hash ^= SignatureAlgorithm.GetHashCode();
            }

            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasVerificationKeyVersion)
            {
                hash ^= VerificationKeyVersion.GetHashCode();
            }
            if (HasVerificationKeyId)
            {
                hash ^= VerificationKeyId.GetHashCode();
            }
            if (HasSignatureAlgorithm)
            {
                hash ^= SignatureAlgorithm.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }