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

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasCountryCriterionId)
            {
                hash ^= CountryCriterionId.GetHashCode();
            }
            if (HasTargetingLocation)
            {
                hash ^= TargetingLocation.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

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