Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Paginate != false)
            {
                hash ^= Paginate.GetHashCode();
            }
            if (PageOffset != 0)
            {
                hash ^= PageOffset.GetHashCode();
            }
            if (PageTimestamp != 0UL)
            {
                hash ^= PageTimestamp.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Platform != 0)
            {
                hash ^= Platform.GetHashCode();
            }
            if (DeviceManufacturer.Length != 0)
            {
                hash ^= DeviceManufacturer.GetHashCode();
            }
            if (DeviceModel.Length != 0)
            {
                hash ^= DeviceModel.GetHashCode();
            }
            if (Locale.Length != 0)
            {
                hash ^= Locale.GetHashCode();
            }
            if (AppVersion != 0)
            {
                hash ^= AppVersion.GetHashCode();
            }
            if (Paginate != false)
            {
                hash ^= Paginate.GetHashCode();
            }
            if (PageOffset != 0)
            {
                hash ^= PageOffset.GetHashCode();
            }
            if (PageTimestamp != 0UL)
            {
                hash ^= PageTimestamp.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }