public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.startRow) { hashcode = (hashcode * 397) + StartRow.GetHashCode(); } if (__isset.stopRow) { hashcode = (hashcode * 397) + StopRow.GetHashCode(); } if (__isset.timestamp) { hashcode = (hashcode * 397) + Timestamp.GetHashCode(); } if (__isset.columns) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Columns); } if (__isset.caching) { hashcode = (hashcode * 397) + Caching.GetHashCode(); } if (__isset.filterString) { hashcode = (hashcode * 397) + FilterString.GetHashCode(); } if (__isset.batchSize) { hashcode = (hashcode * 397) + BatchSize.GetHashCode(); } if (__isset.sortColumns) { hashcode = (hashcode * 397) + SortColumns.GetHashCode(); } if (__isset.reversed) { hashcode = (hashcode * 397) + Reversed.GetHashCode(); } if (__isset.cacheBlocks) { hashcode = (hashcode * 397) + CacheBlocks.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { int hash = 1; if (ProtocolVersion != 0) { hash ^= ProtocolVersion.GetHashCode(); } if (MessageType != 0) { hash ^= MessageType.GetHashCode(); } if (Side != 0) { hash ^= Side.GetHashCode(); } if (StartRow != 0) { hash ^= StartRow.GetHashCode(); } if (StartCol != 0) { hash ^= StartCol.GetHashCode(); } if (EndRow != 0) { hash ^= EndRow.GetHashCode(); } if (EndCol != 0) { hash ^= EndCol.GetHashCode(); } if (GameOutcome != 0) { hash ^= GameOutcome.GetHashCode(); } return(hash); }