2 writes to _tailIndex
System.Threading.Tasks.Dataflow (2)
Internal\QueuedMap.cs (2)
104
_tailIndex
= newIndex;
130
if (_headIndex == TERMINATOR_INDEX)
_tailIndex
= TERMINATOR_INDEX;
5 references to _tailIndex
System.Threading.Tasks.Dataflow (5)
Internal\QueuedMap.cs (5)
93
Debug.Assert(
_tailIndex
== TERMINATOR_INDEX, "If head indicates empty, so too should tail.");
99
Debug.Assert(
_tailIndex
!= TERMINATOR_INDEX, "If head does not indicate empty, neither should tail.");
100
_storage[
_tailIndex
] = new KeyValuePair<int, T>(newIndex, _storage[
_tailIndex
].Value);
116
Debug.Assert(
_tailIndex
== TERMINATOR_INDEX, "If head indicates empty, so too should tail.");