6 writes to _current
PresentationCore (6)
System\Windows\Media\Animation\TimeIntervalCollection.cs (6)
110_current = 0; 232_current = 0; 1325_current += NextNodeIsInterval ? 1 : 2; // Step over the next node if it's merely the end of this interval 1331_current++; 2179_current = 0; 2184_current++;
35 references to _current
PresentationCore (35)
System\Windows\Media\Animation\TimeIntervalCollection.cs (35)
901while (_current < _count) 1264while(_current < _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them 1277Debug.Assert(_current > 0); // The only way _current could stay at zero is if the collection begins at (or past) the end of active period 1278if (_current < _count // We have an interval reaching beyond the active zone, clip that interval 1279&& (_nodeIsInterval[_current - 1] 1333} while (!quitFlag && (_current < _count)); 1829while (_current < _count && CurrentNodeTime < accelEnd) 1831t = (double)_nodeTime[_current].Ticks; 1832_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio)); 1837while (_current < _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result 1839t = (double)_nodeTime[_current].Ticks; 1840_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod)))); 1845while (_current < _count) 1847t = (double)(periodInTicks - _nodeTime[_current].Ticks); // We actually use the complement from 100% progress 1848_nodeTime[_current] = TimeSpan.FromTicks(periodInTicks - (long)(halfMaxRate * inversePeriod * t * t / decelRatio)); 2185Debug.Assert(_current <= _count); 2192return (_current + 1 == _count); 2200Debug.Assert(_current < _count); 2201return _nodeTime[_current]; 2205Debug.Assert(_current < _count); 2206_nodeTime[_current] = value; 2214Debug.Assert(_current < _count); 2215return _nodeIsPoint[_current] ^ _invertCollection; 2219Debug.Assert(_current < _count); 2220_nodeIsPoint[_current] = value; 2228Debug.Assert(_current < _count); 2229return _nodeIsInterval[_current] ^ _invertCollection; 2233Debug.Assert(_current < _count); 2234_nodeIsInterval[_current] = value; 2242Debug.Assert(_current + 1 < _count); 2243return _nodeTime[_current + 1]; 2251Debug.Assert(_current + 1 < _count); 2252return _nodeIsPoint[_current + 1] ^ _invertCollection; 2260Debug.Assert(_current + 1 < _count); 2261return _nodeIsInterval[_current + 1] ^ _invertCollection;