Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (BuildConfigId != null ? BuildConfigId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BuildInfos != null ? BuildInfos.GetHashCode() : 0);
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ (Number != null ? Number.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BuildConfigId != null ? BuildConfigId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (CommitHash != null ? CommitHash.GetHashCode() : 0);
         return(hashCode);
     }
 }