public override int GetHashCode() { unchecked { var hashCode = ClientId; hashCode = (hashCode * 397) ^ (AcctCode != null ? AcctCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Time != null ? Time.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Symbol != null ? Symbol.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SecType != null ? SecType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Exchange != null ? Exchange.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Side != null ? Side.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Market != 0) { hash ^= Market.GetHashCode(); } if (SecType != 0) { hash ^= SecType.GetHashCode(); } hash ^= securityList_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(base.GetHashCode() + Exchange.GetHashCode() + SecType.GetHashCode() + Symbol.GetHashCode()); }