System\Windows\Media\Animation\Clock.cs (12)
606if (!_resolvedDuration.HasTimeSpan || _resolvedDuration.TimeSpan > TimeSpan.Zero)
1954if (_currentDuration.HasTimeSpan) // For finite duration, use modulo arithmetic to compute current iteration
2188Debug.Assert(_resolvedDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _resolvedDuration has a value."); // We must have a computed duration
2189Debug.Assert(_currentDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _currentDuration has a value.");
2338if (_currentDuration.HasTimeSpan) // Finite duration, need to apply accel/decel
2478if (_currentDuration.HasTimeSpan && _currentDuration.TimeSpan == TimeSpan.Zero)
2495Debug.Assert(_currentDuration.HasTimeSpan, "_currentDuration is invalid, neither Forever nor a TimeSpan.");
2508Debug.Assert(_resolvedDuration.HasTimeSpan, "_resolvedDuration is invalid, neither Forever nor a TimeSpan.");
2509Debug.Assert(_currentDuration.HasTimeSpan, "_currentDuration is invalid, neither Forever nor a TimeSpan.");
3203if (syncClockDuration.HasTimeSpan)
3326else if (syncDuration.HasTimeSpan && syncTimeST >= syncDuration.TimeSpan)
3998if (!_syncClockResolvedDuration.HasTimeSpan)