public override int GetHashCode() { unchecked { int result = LogPosition.GetHashCode(); result = (result * 397) ^ TimeStamp.GetHashCode(); result = (result * 397) ^ SystemRecordType.GetHashCode(); result = (result * 397) ^ SystemRecordSerialization.GetHashCode(); result = (result * 397) ^ Reserved.GetHashCode(); return(result); } }
public override int GetHashCode() { int result = _masterId; result = 31 * result + _authorId; result = 31 * result + ( int )(_timeWritten ^ (( long )(( ulong )_timeWritten >> 32))); result = 31 * result + ( int )(_lastCommittedTxWhenTransactionStarted ^ (( long )(( ulong )_lastCommittedTxWhenTransactionStarted >> 32))); result = 31 * result + (_additionalHeader != null ? Arrays.GetHashCode(_additionalHeader) : 0); result = 31 * result + _startPosition.GetHashCode(); return(result); }
public override int GetHashCode() { unchecked { int result = LogPosition.GetHashCode(); result = (result * 397) ^ TransactionPosition.GetHashCode(); result = (result * 397) ^ FirstEventNumber.GetHashCode(); result = (result * 397) ^ SortKey.GetHashCode(); result = (result * 397) ^ CorrelationId.GetHashCode(); result = (result * 397) ^ TimeStamp.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { int result = LogPosition.GetHashCode(); result = (result * 397) ^ Flags.GetHashCode(); result = (result * 397) ^ TransactionPosition.GetHashCode(); result = (result * 397) ^ TransactionOffset; result = (result * 397) ^ ExpectedVersion.GetHashCode(); result = (result * 397) ^ EventStreamId.GetHashCode(); result = (result * 397) ^ EventId.GetHashCode(); result = (result * 397) ^ CorrelationId.GetHashCode(); result = (result * 397) ^ TimeStamp.GetHashCode(); result = (result * 397) ^ EventType.GetHashCode(); result = (result * 397) ^ Data.GetHashCode(); result = (result * 397) ^ Metadata.GetHashCode(); return(result); } }
public override int GetHashCode() { return(_logPosition != null?_logPosition.GetHashCode() : 0); }
public override int GetHashCode() => LogPosition.GetHashCode();