public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hash = 17; hash = hash * 29 + ScriptId.GetHashCode(); hash = hash * 29 + ReceiveUpdates.GetHashCode(); return(hash); } }
public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hash = 17; hash = hash * 29 + ScriptId.GetHashCode(); hash = hash * 29 + Id.GetHashCode(); hash = hash * 29 + EntityHandle.GetHashCode(); return(hash); } }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Lang.Length != 0) { hash ^= Lang.GetHashCode(); } if (ScriptId.Length != 0) { hash ^= ScriptId.GetHashCode(); } if (DefaultRegion.Length != 0) { hash ^= DefaultRegion.GetHashCode(); } if (HasMoreScripts != false) { hash ^= HasMoreScripts.GetHashCode(); } if (HasStemming != false) { hash ^= HasStemming.GetHashCode(); } if (Alphabet.Length != 0) { hash ^= Alphabet.GetHashCode(); } if (AlphabetUpper.Length != 0) { hash ^= AlphabetUpper.GetHashCode(); } if (WordSpellCheckLcid != 0) { hash ^= WordSpellCheckLcid.GetHashCode(); } if (GoogleTransId.Length != 0) { hash ^= GoogleTransId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }