Ejemplo n.º 1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = (int)ErrorCode;
         hashCode = (hashCode * 397) ^ PartitionId;
         hashCode = (hashCode * 397) ^ LeaderId;
         hashCode = (hashCode * 397) ^ (Replicas?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Isrs?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }