public override int GetHashCode() { int hash = 1; if (CmdCode != 0) { hash ^= CmdCode.GetHashCode(); } if (Identity.Length != 0) { hash ^= Identity.GetHashCode(); } if (OppositeId.Length != 0) { hash ^= OppositeId.GetHashCode(); } if (ServerId != 0) { hash ^= ServerId.GetHashCode(); } if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (TimeToken != 0UL) { hash ^= TimeToken.GetHashCode(); } if (Memo.Length != 0) { hash ^= Memo.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (CmdCode != 0) { hash ^= CmdCode.GetHashCode(); } if (Identity.Length != 0) { hash ^= Identity.GetHashCode(); } if (TimeToken.Length != 0) { hash ^= TimeToken.GetHashCode(); } if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (ServerId != 0) { hash ^= ServerId.GetHashCode(); } if (ServerIp.Length != 0) { hash ^= ServerIp.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (CmdCode.Length != 0) { hash ^= CmdCode.GetHashCode(); } if (Identity.Length != 0) { hash ^= Identity.GetHashCode(); } if (TimeToken.Length != 0) { hash ^= TimeToken.GetHashCode(); } if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (ServerId != 0) { hash ^= ServerId.GetHashCode(); } if (ServerIp.Length != 0) { hash ^= ServerIp.GetHashCode(); } hash ^= lights_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (CmdCode.Length != 0) { hash ^= CmdCode.GetHashCode(); } if (Identity.Length != 0) { hash ^= Identity.GetHashCode(); } if (OppositeId.Length != 0) { hash ^= OppositeId.GetHashCode(); } if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (ServerId != 0) { hash ^= ServerId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (Deck.Length != 0) { hash ^= Deck.GetHashCode(); } if (BalanceCoin != 0L) { hash ^= BalanceCoin.GetHashCode(); } if (BalanceRuby != 0L) { hash ^= BalanceRuby.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
// -------------------------------------------------------------------------------------------- public override int GetHashCode() { int part1 = ResultFromOurPerspective.GetHashCode(); int part2 = HashCode.Combine(BestD, BestQ, RootD, BestD); return(HashCode.Combine(part1, part2)); }
/// <summary> /// Return the HashCode of this object. /// </summary> /// <returns>The HashCode of this object.</returns> public override Int32 GetHashCode() { unchecked { return(ResultCode.GetHashCode() * 11 ^ (Description != null ? Description.GetHashCode() : 0)); } }
/// <summary> /// Returns a hash code for the current object. /// Uses a combination of the public properties to calculate the hash. /// </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { unchecked { var result = Value != null?Value.GetHashCode() : 0; result = (result * 397) ^ IsSuccess.GetHashCode(); result = (result * 397) ^ ResultCode.GetHashCode(); result = (result * 397) ^ NodeOffline.GetHashCode(); result = (result * 397) ^ Done.GetHashCode(); result = (result * 397) ^ Continuation.GetHashCode(); return(result); } }
public override int GetHashCode() { int hash = 1; if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (ResultDesc.Length != 0) { hash ^= ResultDesc.GetHashCode(); } hash ^= configList_.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (Ver != 0) { hash ^= Ver.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (ResultCode.Length != 0) { hash ^= ResultCode.GetHashCode(); } if (duration_ != null) { hash ^= Duration.GetHashCode(); } if (success_ != null) { hash ^= Success.GetHashCode(); } if (Data.Length != 0) { hash ^= Data.GetHashCode(); } if (Type.Length != 0) { hash ^= Type.GetHashCode(); } if (Target.Length != 0) { hash ^= Target.GetHashCode(); } hash ^= Properties.GetHashCode(); hash ^= Measurements.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (CmdCode.Length != 0) { hash ^= CmdCode.GetHashCode(); } if (Identity.Length != 0) { hash ^= Identity.GetHashCode(); } if (OppositeId.Length != 0) { hash ^= OppositeId.GetHashCode(); } if (TimeToken.Length != 0) { hash ^= TimeToken.GetHashCode(); } if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (ServerId != 0) { hash ^= ServerId.GetHashCode(); } if (LightNo.Length != 0) { hash ^= LightNo.GetHashCode(); } if (WaringCode.Length != 0) { hash ^= WaringCode.GetHashCode(); } if (WaringDesc.Length != 0) { hash ^= WaringDesc.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (CellAddr != 0) { hash ^= CellAddr.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (LoginKey.Length != 0) { hash ^= LoginKey.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (userData_ != null) { hash ^= UserData.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; hash ^= Claims.GetHashCode(); if (ResultCode != 0) { hash ^= ResultCode.GetHashCode(); } if (resultReply_ != null) { hash ^= ResultReply.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; hashCode = hashCode * 59 + ResultCode.GetHashCode(); if (ExtResultStatus != null) { hashCode = hashCode * 59 + ExtResultStatus.GetHashCode(); } if (ExtResultMessage != null) { hashCode = hashCode * 59 + ExtResultMessage.GetHashCode(); } if (InternalErrorId != null) { hashCode = hashCode * 59 + InternalErrorId.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { return(Code.GetHashCode() ^ (ErrorMessage?.GetHashCode() ?? 0)); }
public override string ToString() { return($"ResultCode: {ResultCode.GetHashCode()} Message: {Message}"); }