public override int GetHashCode() { unchecked { return(((KeyType != null ? KeyType.GetHashCode() : 0) * 397) ^ (ValueType != null ? ValueType.GetHashCode() : 0)); } }
public override int GetHashCode() { var result = Info.GetHashCode(); result = 29 * result + KeyType.GetHashCode(); result = 29 * result + KeyDataType.GetHashCode(); return(result); }
public override int GetHashCode() { unchecked { var hashCode = (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FilePath != null ? FilePath.GetPathHashCode() : 0); hashCode = (hashCode * 397) ^ _type.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { var result = KeyDataType.GetHashCode(); result = 29 * result + KeyType.GetHashCode(); result = 29 * result + Name.GetHashCode(); result = 29 * result + IsOrdered.GetHashCode(); return(result); }
/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns>A 32-bit signed integer hash code.</returns> public override int GetHashCode() { var hashCode = ValueType.GetHashCode(); if (KeyType != null) { hashCode &= KeyType.GetHashCode(); } return(hashCode); }
/// <summary>Serves as the default hash function.</summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { unchecked { var hashCode = (KeyType != null ? KeyType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ValueType != null ? ValueType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsKeyEnum.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { var result = (Columns != null ? Columns.GetHashCode() : 0); result = 29 * result + KeyType.GetHashCode(); result = 29 * result + (RelTable != null ? RelTable.GetHashCode() : 0); result = 29 * result + (RelColumns != null ? RelColumns.GetHashCode() : 0); result = 29 * result + Clustered.GetHashCode(); result = 29 * result + (Source != null ? Source.GetHashCode() : 0); return(result); }
public override int GetHashCode() { unchecked { var hashCode = KeyType.GetHashCode(); hashCode = (hashCode * 397) ^ (int)X; hashCode = (hashCode * 397) ^ (int)Z; //hashCode = (hashCode * 397) ^ SubChunkId.GetHashCode(); // I will go to the nether for this return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = KeyType?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ValueType?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ HashKey.GetHashCode(); hashCode = (hashCode * 397) ^ KeyTypeState.GetHashCode(); hashCode = (hashCode * 397) ^ ValueTypeState.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { if (KeyType == CfdDescriptorKeyType.Bip32) { return(KeyType.GetHashCode() + ExtPubkey.GetHashCode()); } else if (KeyType == CfdDescriptorKeyType.Bip32Priv) { return(KeyType.GetHashCode() + ExtPrivkey.GetHashCode()); } else if (KeyType == CfdDescriptorKeyType.Public) { return(KeyType.GetHashCode() + Pubkey.GetHashCode()); } else { return(KeyType.GetHashCode()); } }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (KeyType != 0) { hash ^= KeyType.GetHashCode(); } hash ^= keys_.GetHashCode(); hash ^= stringKeys_.GetHashCode(); if (values_ != null) { hash ^= Values.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(Name.GetHashCode() * KeyType.GetHashCode() * ValueType.GetHashCode()); }
public override int GetHashCode() => KeyType.GetHashCode() ^ ValueType.GetHashCode() ^ Name.GetHashCode();
/// <summary>Serves as the default hash function.</summary> /// <returns>A hash code for the current object.</returns> public override Int32 GetHashCode() => base.GetHashCode() ^ KeyType.GetHashCode() ^ ValueType.GetHashCode();
public override int GetHashCode() { return(KeyType.GetHashCode() + BoundType.GetHashCode() + Tag.GetHashCode()); }
public override int GetHashCode() => KeyChar.HasValue ? KeyChar.GetHashCode() : KeyType.GetHashCode();