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

            if (ReleaseName.Length != 0)
            {
                hash ^= ReleaseName.GetHashCode();
            }
            if (ReleaseId != 0L)
            {
                hash ^= ReleaseId.GetHashCode();
            }
            if (ReleaseAction.Length != 0)
            {
                hash ^= ReleaseAction.GetHashCode();
            }
            if (TriggeredBy.Length != 0)
            {
                hash ^= TriggeredBy.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 (ReleaseId.Length != 0)
            {
                hash ^= ReleaseId.GetHashCode();
            }
            hash ^= steps_.GetHashCode();
            if (insertedAtTime_ != null)
            {
                hash ^= InsertedAtTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }