2 writes to ItemCount
System.ServiceModel.Primitives (2)
Internals\System\Runtime\InputQueue.cs (2)
1056ItemCount--; 1075ItemCount++;
11 references to ItemCount
System.ServiceModel.Primitives (11)
Internals\System\Runtime\InputQueue.cs (11)
47return _itemQueue.ItemCount; 294if (_queueState == QueueState.Shutdown && _readerQueue.Count > 0 && _itemQueue.ItemCount == 0) 428if (_readerQueue.Count > 0 && _itemQueue.ItemCount == 0) 1009get { return ItemCount > 0; } 1014get { return ItemCount > _pendingCount; } 1021if (_pendingCount == ItemCount) 1030Fx.AssertAndThrow(ItemCount != _pendingCount, "ItemQueue does not contain any available items"); 1053Fx.AssertAndThrow(ItemCount != 0, "ItemQueue does not contain any items"); 1063if (ItemCount == _items.Length) 1066for (int i = 0; i < ItemCount; i++) 1073int tail = (_head + ItemCount) % _items.Length;