text: public virtual void SetRepetitions(int repetitions){fixedTime = false;this.repetitions = repetitions;if (repetitions == REPEAT_EXHAUST){if (IsParallel){throw new Exception("REPEAT_EXHAUST is not allowed for parallel tasks");}}SetSequenceName();}