public override int GetHashCode()
        {
            int num = base.GetType().GetHashCode();

            using (List <AccountLicense> .Enumerator enumerator = this.Licenses.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    AccountLicense current = enumerator.get_Current();
                    num ^= current.GetHashCode();
                }
            }
            if (this.HasDefaultCurrency)
            {
                num ^= this.DefaultCurrency.GetHashCode();
            }
            if (this.HasCountry)
            {
                num ^= this.Country.GetHashCode();
            }
            if (this.HasPreferredRegion)
            {
                num ^= this.PreferredRegion.GetHashCode();
            }
            return(num);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int num = base.GetType().GetHashCode();

            num ^= this.GameAccount.GetHashCode();
            if (this.HasName)
            {
                num ^= this.Name.GetHashCode();
            }
            if (this.HasRealmPermissions)
            {
                num ^= this.RealmPermissions.GetHashCode();
            }
            num ^= this.Status.GetHashCode();
            if (this.HasFlags)
            {
                num ^= this.Flags.GetHashCode();
            }
            if (this.HasBillingFlags)
            {
                num ^= this.BillingFlags.GetHashCode();
            }
            num ^= this.CacheExpiration.GetHashCode();
            if (this.HasSubscriptionExpiration)
            {
                num ^= this.SubscriptionExpiration.GetHashCode();
            }
            if (this.HasUnitsRemaining)
            {
                num ^= this.UnitsRemaining.GetHashCode();
            }
            if (this.HasStatusExpiration)
            {
                num ^= this.StatusExpiration.GetHashCode();
            }
            if (this.HasBoxLevel)
            {
                num ^= this.BoxLevel.GetHashCode();
            }
            if (this.HasBoxLevelExpiration)
            {
                num ^= this.BoxLevelExpiration.GetHashCode();
            }
            using (List <AccountLicense> .Enumerator enumerator = this.Licenses.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    AccountLicense current = enumerator.get_Current();
                    num ^= current.GetHashCode();
                }
            }
            return(num);
        }
        public override int GetHashCode()
        {
            int num = base.GetType().GetHashCode();

            using (List <AccountLicense> .Enumerator enumerator = this.Licenses.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    AccountLicense current = enumerator.get_Current();
                    num ^= current.GetHashCode();
                }
            }
            return(num);
        }
Пример #4
0
        public override int GetHashCode()
        {
            int num = base.GetType().GetHashCode();

            if (this.HasIsStarterEdition)
            {
                num ^= this.IsStarterEdition.GetHashCode();
            }
            if (this.HasIsTrial)
            {
                num ^= this.IsTrial.GetHashCode();
            }
            if (this.HasIsLifetime)
            {
                num ^= this.IsLifetime.GetHashCode();
            }
            if (this.HasIsRestricted)
            {
                num ^= this.IsRestricted.GetHashCode();
            }
            if (this.HasIsBeta)
            {
                num ^= this.IsBeta.GetHashCode();
            }
            if (this.HasName)
            {
                num ^= this.Name.GetHashCode();
            }
            if (this.HasProgram)
            {
                num ^= this.Program.GetHashCode();
            }
            using (List <AccountLicense> .Enumerator enumerator = this.Licenses.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    AccountLicense current = enumerator.get_Current();
                    num ^= current.GetHashCode();
                }
            }
            if (this.HasRealmPermissions)
            {
                num ^= this.RealmPermissions.GetHashCode();
            }
            return(num);
        }
Пример #5
0
        public override int GetHashCode()
        {
            int num = base.GetType().GetHashCode();

            num ^= this.Id.GetHashCode();
            num ^= this.Region.GetHashCode();
            using (List <string> .Enumerator enumerator = this.Email.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    string current = enumerator.get_Current();
                    num ^= current.GetHashCode();
                }
            }
            num ^= this.Flags.GetHashCode();
            if (this.HasSecureRelease)
            {
                num ^= this.SecureRelease.GetHashCode();
            }
            if (this.HasWhitelistStart)
            {
                num ^= this.WhitelistStart.GetHashCode();
            }
            if (this.HasWhitelistEnd)
            {
                num ^= this.WhitelistEnd.GetHashCode();
            }
            num ^= this.FullName.GetHashCode();
            using (List <AccountLicense> .Enumerator enumerator2 = this.Licenses.GetEnumerator())
            {
                while (enumerator2.MoveNext())
                {
                    AccountLicense current2 = enumerator2.get_Current();
                    num ^= current2.GetHashCode();
                }
            }
            using (List <AccountCredential> .Enumerator enumerator3 = this.Credentials.GetEnumerator())
            {
                while (enumerator3.MoveNext())
                {
                    AccountCredential current3 = enumerator3.get_Current();
                    num ^= current3.GetHashCode();
                }
            }
            using (List <GameAccountLink> .Enumerator enumerator4 = this.AccountLinks.GetEnumerator())
            {
                while (enumerator4.MoveNext())
                {
                    GameAccountLink current4 = enumerator4.get_Current();
                    num ^= current4.GetHashCode();
                }
            }
            if (this.HasBattleTag)
            {
                num ^= this.BattleTag.GetHashCode();
            }
            if (this.HasDefaultCurrency)
            {
                num ^= this.DefaultCurrency.GetHashCode();
            }
            if (this.HasLegalRegion)
            {
                num ^= this.LegalRegion.GetHashCode();
            }
            if (this.HasLegalLocale)
            {
                num ^= this.LegalLocale.GetHashCode();
            }
            num ^= this.CacheExpiration.GetHashCode();
            if (this.HasParentalControlInfo)
            {
                num ^= this.ParentalControlInfo.GetHashCode();
            }
            if (this.HasCountry)
            {
                num ^= this.Country.GetHashCode();
            }
            if (this.HasPreferredRegion)
            {
                num ^= this.PreferredRegion.GetHashCode();
            }
            return(num);
        }