2 writes to currentItemsLastInsertionIndex
xunit.assert (2)
Sdk\CollectionTracker.cs (2)
890
currentItemsLastInsertionIndex
= (currentItemsLastInsertionIndex + 1) % ArgumentFormatter.MAX_ENUMERABLE_LENGTH;
901
currentItemsLastInsertionIndex
= -1;
4 references to currentItemsLastInsertionIndex
xunit.assert (4)
Sdk\CollectionTracker.cs (4)
850
var indexInRingBuffer = (
currentItemsLastInsertionIndex
- CurrentIndex + itemIndex) % ArgumentFormatter.MAX_ENUMERABLE_LENGTH;
890
currentItemsLastInsertionIndex = (
currentItemsLastInsertionIndex
+ 1) % ArgumentFormatter.MAX_ENUMERABLE_LENGTH;
891
currentItemsRingBuffer[
currentItemsLastInsertionIndex
] = current;
918
var indexInRingBuffer = (
currentItemsLastInsertionIndex
- CurrentIndex + index) % ArgumentFormatter.MAX_ENUMERABLE_LENGTH;