6 writes to _current
PresentationCore (6)
System\Windows\Media\Animation\TimeIntervalCollection.cs (6)
116_current = 0; 238_current = 0; 1331_current += NextNodeIsInterval ? 1 : 2; // Step over the next node if it's merely the end of this interval 1337_current++; 2185_current = 0; 2190_current++;
35 references to _current
PresentationCore (35)
System\Windows\Media\Animation\TimeIntervalCollection.cs (35)
907while (_current < _count) 1270while(_current < _count && (!endTime.HasValue || CurrentNodeTime < endTime)) // Copy the main set of segments, transforming them 1283Debug.Assert(_current > 0); // The only way _current could stay at zero is if the collection begins at (or past) the end of active period 1284if (_current < _count // We have an interval reaching beyond the active zone, clip that interval 1285&& (_nodeIsInterval[_current - 1] 1339} while (!quitFlag && (_current < _count)); 1835while (_current < _count && CurrentNodeTime < accelEnd) 1837t = (double)_nodeTime[_current].Ticks; 1838_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * inversePeriod * t * t / accelRatio)); 1843while (_current < _count && CurrentNodeTime <= decelStart) // We bias the edge points towards the simpler linear computation, which yields the same result 1845t = (double)_nodeTime[_current].Ticks; 1846_nodeTime[_current] = TimeSpan.FromTicks((long)(halfMaxRate * (2 * t - (accelRatio * dpPeriod)))); 1851while (_current < _count) 1853t = (double)(periodInTicks - _nodeTime[_current].Ticks); // We actually use the complement from 100% progress 1854_nodeTime[_current] = TimeSpan.FromTicks(periodInTicks - (long)(halfMaxRate * inversePeriod * t * t / decelRatio)); 2191Debug.Assert(_current <= _count); 2198return (_current + 1 == _count); 2206Debug.Assert(_current < _count); 2207return _nodeTime[_current]; 2211Debug.Assert(_current < _count); 2212_nodeTime[_current] = value; 2220Debug.Assert(_current < _count); 2221return _nodeIsPoint[_current] ^ _invertCollection; 2225Debug.Assert(_current < _count); 2226_nodeIsPoint[_current] = value; 2234Debug.Assert(_current < _count); 2235return _nodeIsInterval[_current] ^ _invertCollection; 2239Debug.Assert(_current < _count); 2240_nodeIsInterval[_current] = value; 2248Debug.Assert(_current + 1 < _count); 2249return _nodeTime[_current + 1]; 2257Debug.Assert(_current + 1 < _count); 2258return _nodeIsPoint[_current + 1] ^ _invertCollection; 2266Debug.Assert(_current + 1 < _count); 2267return _nodeIsInterval[_current + 1] ^ _invertCollection;