public override int GetHashCode() { int hash = 1; if (packetID_ != null) { hash ^= PacketID.GetHashCode(); } if (header_ != null) { hash ^= Header.GetHashCode(); } if (TrdSide != 0) { hash ^= TrdSide.GetHashCode(); } if (OrderType != 0) { hash ^= OrderType.GetHashCode(); } if (Code.Length != 0) { hash ^= Code.GetHashCode(); } if (Qty != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Qty); } if (Price != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Price); } if (AdjustPrice != false) { hash ^= AdjustPrice.GetHashCode(); } if (AdjustSideAndLimit != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AdjustSideAndLimit); } if (SecMarket != 0) { hash ^= SecMarket.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (packetID_ != null) { hash ^= PacketID.GetHashCode(); } if (header_ != null) { hash ^= Header.GetHashCode(); } if (OrderID != 0UL) { hash ^= OrderID.GetHashCode(); } if (ModifyOrderOp != 0) { hash ^= ModifyOrderOp.GetHashCode(); } if (ForAll != false) { hash ^= ForAll.GetHashCode(); } if (Qty != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Qty); } if (Price != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Price); } if (AdjustPrice != false) { hash ^= AdjustPrice.GetHashCode(); } if (AdjustSideAndLimit != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AdjustSideAndLimit); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }