public override int GetHashCode() { int hash = 1; if (CurrentLevel != 0) { hash ^= CurrentLevel.GetHashCode(); } if (Cost != 0) { hash ^= Cost.GetHashCode(); } if (Rent != 0) { hash ^= Rent.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (pos_ != null) { hash ^= Pos.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = 782125786; hashCode = hashCode * -1521134295 + StringComparer.Ordinal.GetHashCode(Text); hashCode = hashCode * -1521134295 + StringComparer.Ordinal.GetHashCode(ExtraInfo); hashCode = hashCode * -1521134295 + CurrentLevel.GetHashCode(); hashCode = hashCode * -1521134295 + Time.GetHashCode(); hashCode = hashCode * -1521134295 + StringComparer.Ordinal.GetHashCode(CallerMemberName); return(hashCode); }