public override int GetHashCode()
        {
            int hash = 1;

            if (RepoSource.Length != 0)
            {
                hash ^= RepoSource.GetHashCode();
            }
            if (RepoOwner.Length != 0)
            {
                hash ^= RepoOwner.GetHashCode();
            }
            if (RepoName.Length != 0)
            {
                hash ^= RepoName.GetHashCode();
            }
            if (RepoBranch.Length != 0)
            {
                hash ^= RepoBranch.GetHashCode();
            }
            if (RepoRevision.Length != 0)
            {
                hash ^= RepoRevision.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (RepoSource.Length != 0)
            {
                hash ^= RepoSource.GetHashCode();
            }
            if (RepoOwner.Length != 0)
            {
                hash ^= RepoOwner.GetHashCode();
            }
            if (RepoName.Length != 0)
            {
                hash ^= RepoName.GetHashCode();
            }
            if (RepoBranch.Length != 0)
            {
                hash ^= RepoBranch.GetHashCode();
            }
            if (RepoRevision.Length != 0)
            {
                hash ^= RepoRevision.GetHashCode();
            }
            if (BuildId.Length != 0)
            {
                hash ^= BuildId.GetHashCode();
            }
            hash ^= steps_.GetHashCode();
            if (insertedAtTime_ != null)
            {
                hash ^= InsertedAtTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (BuildVersion.Length != 0)
            {
                hash ^= BuildVersion.GetHashCode();
            }
            if (RepoSource.Length != 0)
            {
                hash ^= RepoSource.GetHashCode();
            }
            if (RepoOwner.Length != 0)
            {
                hash ^= RepoOwner.GetHashCode();
            }
            if (RepoName.Length != 0)
            {
                hash ^= RepoName.GetHashCode();
            }
            if (RepoBranch.Length != 0)
            {
                hash ^= RepoBranch.GetHashCode();
            }
            if (Status.Length != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (Event.Length != 0)
            {
                hash ^= Event.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (RepoSource.Length != 0)
            {
                hash ^= RepoSource.GetHashCode();
            }
            if (RepoOwner.Length != 0)
            {
                hash ^= RepoOwner.GetHashCode();
            }
            if (RepoName.Length != 0)
            {
                hash ^= RepoName.GetHashCode();
            }
            if (RepoBranch.Length != 0)
            {
                hash ^= RepoBranch.GetHashCode();
            }
            if (RepoRevision.Length != 0)
            {
                hash ^= RepoRevision.GetHashCode();
            }
            if (BuildVersion.Length != 0)
            {
                hash ^= BuildVersion.GetHashCode();
            }
            if (BuildStatus.Length != 0)
            {
                hash ^= BuildStatus.GetHashCode();
            }
            hash ^= labels_.GetHashCode();
            hash ^= releaseTargets_.GetHashCode();
            if (Manifest.Length != 0)
            {
                hash ^= Manifest.GetHashCode();
            }
            if (ManifestWithDefaults.Length != 0)
            {
                hash ^= ManifestWithDefaults.GetHashCode();
            }
            hash ^= commits_.GetHashCode();
            hash ^= triggers_.GetHashCode();
            hash ^= events_.GetHashCode();
            if (insertedAtTime_ != null)
            {
                hash ^= InsertedAtTime.GetHashCode();
            }
            if (updatedAtTime_ != null)
            {
                hash ^= UpdatedAtTime.GetHashCode();
            }
            if (duration_ != null)
            {
                hash ^= Duration.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }