/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Id != null) { hashCode = hashCode * 59 + Id.GetHashCode(); } if (Tipo != null) { hashCode = hashCode * 59 + Tipo.GetHashCode(); } if (Valor != null) { hashCode = hashCode * 59 + Valor.GetHashCode(); } if (Data != null) { hashCode = hashCode * 59 + Data.GetHashCode(); } if (Conta != null) { hashCode = hashCode * 59 + Conta.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (this.Nombre != null ? this.Nombre.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (this.Tipo != null ? Tipo.GetHashCode() : 0); hashCode = (hashCode * 397) ^ this.Longitud; return(hashCode); } }
public override int GetHashCode() { var hashCode = base.GetHashCode(); hashCode = hashCode * -1521134295 + base.GetHashCode(); hashCode = hashCode * -1521134295 + CodAcontecimento.GetHashCode(); hashCode = hashCode * -1521134295 + Tipo.GetHashCode(); hashCode = hashCode * -1521134295 + IdUsuariosAdmin.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { int hashCode = Valor.GetHashCode(); hashCode = (hashCode * 397) ^ Tipo.GetHashCode(); hashCode = (hashCode * 397) ^ Potencia.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int hash = 13; hash = hash * 7 + Tipo.GetHashCode(); hash = hash * 7 + Id.GetHashCode(); return(hash); } }
public override int GetHashCode() { var hashCode = 724349007; hashCode = hashCode * -1521134295 + Id.GetHashCode(); hashCode = hashCode * -1521134295 + IdUsuarioReceptor.GetHashCode(); hashCode = hashCode * -1521134295 + IdUsuarioTransmissor.GetHashCode(); hashCode = hashCode * -1521134295 + Tipo.GetHashCode(); hashCode = hashCode * -1521134295 + IdCoisa.GetHashCode(); hashCode = hashCode * -1521134295 + JaViu.GetHashCode(); return(hashCode); }
public override int GetHashCode() { var hashCode = -1575238800; hashCode = hashCode * -1521134295 + CodItem.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Nome); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Descricao); hashCode = hashCode * -1521134295 + Valor.GetHashCode(); hashCode = hashCode * -1521134295 + Tipo.GetHashCode(); hashCode = hashCode * -1521134295 + LevelMinimo.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Conteudo); return(hashCode); }
public override int GetHashCode() { int hash = 1; if (Tipo != 0) { hash ^= Tipo.GetHashCode(); } if (Id != 0) { hash ^= Id.GetHashCode(); } if (Nome.Length != 0) { hash ^= Nome.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }