public override int GetHashCode() { int hash = 1; if (Id != 0) { hash ^= Id.GetHashCode(); } if (BadgeNumber != 0) { hash ^= BadgeNumber.GetHashCode(); } if (FirstName.Length != 0) { hash ^= FirstName.GetHashCode(); } if (LastName.Length != 0) { hash ^= LastName.GetHashCode(); } if (VacationAccrualRate != 0F) { hash ^= VacationAccrualRate.GetHashCode(); } if (VacationAccrued != 0F) { hash ^= VacationAccrued.GetHashCode(); } hash ^= vacations_.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (BadgeItemId != 0UL) { hash ^= BadgeItemId.GetHashCode(); } if (BadgeNumber != 0) { hash ^= BadgeNumber.GetHashCode(); } if (BadgeName.Length != 0) { hash ^= BadgeName.GetHashCode(); } if (TrainerBaseId != 0) { hash ^= TrainerBaseId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }