3 writes to _resolvedDuration
PresentationCore (3)
System\Windows\Media\Animation\Clock.cs (3)
90_resolvedDuration = _timeline.Duration; 98_resolvedDuration = Duration.Forever; 2438_resolvedDuration = duration;
20 references to _resolvedDuration
PresentationCore (20)
System\Windows\Media\Animation\Clock.cs (20)
92if (_resolvedDuration == Duration.Automatic) 105_currentDuration = _resolvedDuration; 607if (!_resolvedDuration.HasTimeSpan || _resolvedDuration.TimeSpan > TimeSpan.Zero) 1396Debug.Assert(_resolvedDuration != Duration.Automatic, "_resolvedDuration should never be set to Automatic."); 1398return _resolvedDuration; 2076optimizedOffsetFromBegin = MultiplyTimeSpan(_resolvedDuration.TimeSpan, scalingFactor); 2092newIteration = (int)(offsetFromBegin.Ticks / _resolvedDuration.TimeSpan.Ticks); // Iteration count starting from 0 2193Debug.Assert(_resolvedDuration.HasTimeSpan, "ComputeCurrentIterationWithGrow should only be called when _resolvedDuration has a value."); // We must have a computed duration 2209localProgress = TimeSpan.FromTicks(offsetOnLaterIterations % _resolvedDuration.TimeSpan.Ticks); 2210iterationIncrement = 1 + (int)(offsetOnLaterIterations / _resolvedDuration.TimeSpan.Ticks); 2216_currentIterationBeginTime += _currentDuration.TimeSpan + MultiplyTimeSpan(_resolvedDuration.TimeSpan, iterationIncrement - 1); 2224_currentIterationBeginTime -= _resolvedDuration.TimeSpan; 2444Debug.Assert(_resolvedDuration == Duration.Forever, "_resolvedDuration should be Forever when NaturalDuration is Automatic."); 2477Debug.Assert(_resolvedDuration != Duration.Automatic, "_resolvedDuration should never be Automatic."); 2501Debug.Assert(_currentDuration == _resolvedDuration, "For clocks which cannot grow, _currentDuration must equal _resolvedDuration."); 2513Debug.Assert(_resolvedDuration.HasTimeSpan, "_resolvedDuration is invalid, neither Forever nor a TimeSpan."); 2535+ ((double)_resolvedDuration.TimeSpan.Ticks) * (presentAndFutureIterations - 1); 3412current._currentDuration = current._resolvedDuration; // Revert currentDuration back to default size 4017_syncClockResolvedDuration = _syncClock._resolvedDuration;