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

            if (CustomerId.Length != 0)
            {
                hash ^= CustomerId.GetHashCode();
            }
            if (BillingSetup.Length != 0)
            {
                hash ^= BillingSetup.GetHashCode();
            }
            if (IssueYear.Length != 0)
            {
                hash ^= IssueYear.GetHashCode();
            }
            if (IssueMonth != 0)
            {
                hash ^= IssueMonth.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (CustomerId.Length != 0)
            {
                hash ^= CustomerId.GetHashCode();
            }
            if (BillingSetup.Length != 0)
            {
                hash ^= BillingSetup.GetHashCode();
            }
            if (IssueYear.Length != 0)
            {
                hash ^= IssueYear.GetHashCode();
            }
            if (IssueMonth != global::Google.Ads.GoogleAds.V6.Enums.MonthOfYearEnum.Types.MonthOfYear.Unspecified)
            {
                hash ^= IssueMonth.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }