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