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

            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (PageFormat != 0)
            {
                hash ^= PageFormat.GetHashCode();
            }
            if (globalSiteTag_ != null)
            {
                hash ^= GlobalSiteTag.GetHashCode();
            }
            if (eventSnippet_ != null)
            {
                hash ^= EventSnippet.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Type != global::Google.Ads.GoogleAds.V10.Enums.TrackingCodeTypeEnum.Types.TrackingCodeType.Unspecified)
            {
                hash ^= Type.GetHashCode();
            }
            if (PageFormat != global::Google.Ads.GoogleAds.V10.Enums.TrackingCodePageFormatEnum.Types.TrackingCodePageFormat.Unspecified)
            {
                hash ^= PageFormat.GetHashCode();
            }
            if (HasGlobalSiteTag)
            {
                hash ^= GlobalSiteTag.GetHashCode();
            }
            if (HasEventSnippet)
            {
                hash ^= EventSnippet.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }