2 writes to _freeIndex
System.Threading.Tasks.Dataflow (2)
Internal\QueuedMap.cs (2)
80
_freeIndex
= _storage[_freeIndex].Key;
128
_freeIndex
= _headIndex;
7 references to _freeIndex
System.Threading.Tasks.Dataflow (7)
Internal\QueuedMap.cs (7)
76
if (
_freeIndex
!= TERMINATOR_INDEX)
78
Debug.Assert(0 <=
_freeIndex
&&
_freeIndex
< _storage.Count, "Index is out of range.");
79
newIndex =
_freeIndex
;
80
_freeIndex = _storage[
_freeIndex
].Key;
127
_storage[_headIndex] = new KeyValuePair<int, T>(
_freeIndex
, default(T)!);
143
for (int idx =
_freeIndex
; idx != TERMINATOR_INDEX; idx = _storage[idx].Key)