Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (countryCriterionId_ != null)
            {
                hash ^= CountryCriterionId.GetHashCode();
            }
            if (targetingLocation_ != null)
            {
                hash ^= TargetingLocation.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (LocationType != global::Google.Ads.GoogleAds.V10.Enums.GeoTargetingTypeEnum.Types.GeoTargetingType.Unspecified)
            {
                hash ^= LocationType.GetHashCode();
            }
            if (HasCountryCriterionId)
            {
                hash ^= CountryCriterionId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }