Core\CSharp\System\Windows\Media\Animation\Clock.cs (12)
622if (!_resolvedDuration.HasTimeSpan || _resolvedDuration.TimeSpan > TimeSpan.Zero)
1975if (_currentDuration.HasTimeSpan) // For finite duration, use modulo arithmetic to compute current iteration
2209Debug.Assert(_resolvedDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _resolvedDuration has a value."); // We must have a computed duration
2210Debug.Assert(_currentDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _currentDuration has a value.");
2359if (_currentDuration.HasTimeSpan) // Finite duration, need to apply accel/decel
2499if (_currentDuration.HasTimeSpan && _currentDuration.TimeSpan == TimeSpan.Zero)
2516Debug.Assert(_currentDuration.HasTimeSpan, "_currentDuration is invalid, neither Forever nor a TimeSpan.");
2529Debug.Assert(_resolvedDuration.HasTimeSpan, "_resolvedDuration is invalid, neither Forever nor a TimeSpan.");
2530Debug.Assert(_currentDuration.HasTimeSpan, "_currentDuration is invalid, neither Forever nor a TimeSpan.");
3229if (syncClockDuration.HasTimeSpan)
3353else if (syncDuration.HasTimeSpan && syncTimeST >= syncDuration.TimeSpan)
4034if (!_syncClockResolvedDuration.HasTimeSpan)