2 writes to currentItemsLastInsertionIndex
xunit.assert (2)
Sdk\CollectionTracker.cs (2)
875 currentItemsLastInsertionIndex = (currentItemsLastInsertionIndex + 1) % ArgumentFormatter.MAX_ENUMERABLE_LENGTH; 886 currentItemsLastInsertionIndex = -1;
4 references to currentItemsLastInsertionIndex
xunit.assert (4)
Sdk\CollectionTracker.cs (4)
833 var indexInRingBuffer = (currentItemsLastInsertionIndex - CurrentIndex + itemIndex) % ArgumentFormatter.MAX_ENUMERABLE_LENGTH; 875 currentItemsLastInsertionIndex = (currentItemsLastInsertionIndex + 1) % ArgumentFormatter.MAX_ENUMERABLE_LENGTH; 876 currentItemsRingBuffer[currentItemsLastInsertionIndex] = current; 903 var indexInRingBuffer = (currentItemsLastInsertionIndex - CurrentIndex + index) % ArgumentFormatter.MAX_ENUMERABLE_LENGTH;