6 writes to _current
PresentationCore (6)
System\Windows\Media\Animation\TimeIntervalCollection.cs (6)
111_current = 0; 233_current = 0; 1326_current += NextNodeIsInterval ? 1 : 2; // Step over the next node if it's merely the end of this interval 1332_current++; 2180_current = 0; 2185_current++;
35 references to _current
PresentationCore (35)
System\Windows\Media\Animation\TimeIntervalCollection.cs (35)
902while (_current < _count) 1265while(_current < _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them 1278Debug.Assert(_current > 0); // The only way _current could stay at zero is if the collection begins at (or past) the end of active period 1279if (_current < _count // We have an interval reaching beyond the active zone, clip that interval 1280&& (_nodeIsInterval[_current - 1] 1334} while (!quitFlag && (_current < _count)); 1830while (_current < _count && CurrentNodeTime < accelEnd) 1832t = (double)_nodeTime[_current].Ticks; 1833_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio)); 1838while (_current < _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result 1840t = (double)_nodeTime[_current].Ticks; 1841_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod)))); 1846while (_current < _count) 1848t = (double)(periodInTicks - _nodeTime[_current].Ticks); // We actually use the complement from 100% progress 1849_nodeTime[_current] = TimeSpan.FromTicks(periodInTicks - (long)(halfMaxRate * inversePeriod * t * t / decelRatio)); 2186Debug.Assert(_current <= _count); 2193return (_current + 1 == _count); 2201Debug.Assert(_current < _count); 2202return _nodeTime[_current]; 2206Debug.Assert(_current < _count); 2207_nodeTime[_current] = value; 2215Debug.Assert(_current < _count); 2216return _nodeIsPoint[_current] ^ _invertCollection; 2220Debug.Assert(_current < _count); 2221_nodeIsPoint[_current] = value; 2229Debug.Assert(_current < _count); 2230return _nodeIsInterval[_current] ^ _invertCollection; 2234Debug.Assert(_current < _count); 2235_nodeIsInterval[_current] = value; 2243Debug.Assert(_current + 1 < _count); 2244return _nodeTime[_current + 1]; 2252Debug.Assert(_current + 1 < _count); 2253return _nodeIsPoint[_current + 1] ^ _invertCollection; 2261Debug.Assert(_current + 1 < _count); 2262return _nodeIsInterval[_current + 1] ^ _invertCollection;