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

            if (Bootloader.Length != 0)
            {
                hash ^= Bootloader.GetHashCode();
            }
            if (ProcVersion.Length != 0)
            {
                hash ^= ProcVersion.GetHashCode();
            }
            if (CodeName.Length != 0)
            {
                hash ^= CodeName.GetHashCode();
            }
            if (Incremental.Length != 0)
            {
                hash ^= Incremental.GetHashCode();
            }
            if (Fingerprint.Length != 0)
            {
                hash ^= Fingerprint.GetHashCode();
            }
            if (BootID.Length != 0)
            {
                hash ^= BootID.GetHashCode();
            }
            if (AndroidID.Length != 0)
            {
                hash ^= AndroidID.GetHashCode();
            }
            if (BaseBand.Length != 0)
            {
                hash ^= BaseBand.GetHashCode();
            }
            if (InnerVersion.Length != 0)
            {
                hash ^= InnerVersion.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }