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

            if (Version.Length != 0)
            {
                hash ^= Version.GetHashCode();
            }
            if (BuildDate.Length != 0)
            {
                hash ^= BuildDate.GetHashCode();
            }
            if (Commit.Length != 0)
            {
                hash ^= Commit.GetHashCode();
            }
            if (OsArch.Length != 0)
            {
                hash ^= OsArch.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 0;
         hash ^= (Name?.GetHashCode() ?? 0) * 397;
         hash ^= (Commit?.GetHashCode() ?? 0);
         return(hash);
     }
 }
예제 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Commit != 0UL)
            {
                hash ^= Commit.GetHashCode();
            }
            if (Sequence != 0)
            {
                hash ^= Sequence.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (commit_ != null)
            {
                hash ^= Commit.GetHashCode();
            }
            if (context_ != null)
            {
                hash ^= Context.GetHashCode();
            }
            return(hash);
        }
예제 #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ip.Length != 0)
            {
                hash ^= Ip.GetHashCode();
            }
            if (Version.Length != 0)
            {
                hash ^= Version.GetHashCode();
            }
            hash ^= serialId_.GetHashCode();
            if (EyeId.Length != 0)
            {
                hash ^= EyeId.GetHashCode();
            }
            if (CameraType != 0)
            {
                hash ^= CameraType.GetHashCode();
            }
            if (Commit.Length != 0)
            {
                hash ^= Commit.GetHashCode();
            }
            if (Temp.Length != 0)
            {
                hash ^= Temp.GetHashCode();
            }
            if (IsLinux != false)
            {
                hash ^= IsLinux.GetHashCode();
            }
            if (IsUbuntu18 != false)
            {
                hash ^= IsUbuntu18.GetHashCode();
            }
            if (Time.Length != 0)
            {
                hash ^= Time.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #6
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Url != null ? Url.GetHashCode() : 0) ^ (HtmlUrl != null ? HtmlUrl.GetHashCode() : 0) ^ (CommentsUrl != null ? CommentsUrl.GetHashCode() : 0) ^ (Sha != null ? Sha.GetHashCode() : 0) ^ (Commit != null ? Commit.GetHashCode() : 0) ^ (Author != null ? Author.GetHashCode() : 0) ^ (Committer != null ? Committer.GetHashCode() : 0) ^ (Parents != null ? Parents.GetHashCode() : 0) ^ (Stats != null ? Stats.GetHashCode() : 0) ^ (Files != null ? Files.GetHashCode() : 0));
     }
 }