System\Windows\Media\Animation\Clock.cs (12)
607if (!_resolvedDuration.HasTimeSpan || _resolvedDuration.TimeSpan > TimeSpan.Zero)
1959if (_currentDuration.HasTimeSpan) // For finite duration, use modulo arithmetic to compute current iteration
2193Debug.Assert(_resolvedDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _resolvedDuration has a value."); // We must have a computed duration
2194Debug.Assert(_currentDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _currentDuration has a value.");
2343if (_currentDuration.HasTimeSpan) // Finite duration, need to apply accel/decel
2483if (_currentDuration.HasTimeSpan && _currentDuration.TimeSpan == TimeSpan.Zero)
2500Debug.Assert(_currentDuration.HasTimeSpan, "_currentDuration is invalid, neither Forever nor a TimeSpan.");
2513Debug.Assert(_resolvedDuration.HasTimeSpan, "_resolvedDuration is invalid, neither Forever nor a TimeSpan.");
2514Debug.Assert(_currentDuration.HasTimeSpan, "_currentDuration is invalid, neither Forever nor a TimeSpan.");
3211if (syncClockDuration.HasTimeSpan)
3334else if (syncDuration.HasTimeSpan && syncTimeST >= syncDuration.TimeSpan)
4014if (!_syncClockResolvedDuration.HasTimeSpan)