public bool Equals(PerformanceTime other) { if (IsDefined != other.IsDefined) { return(false); } if (!IsDefined) { return(true); } return(SingleExecutionTime.Equals(other.SingleExecutionTime)); }