6 writes to _queueCount
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (6)
168_queueCount -= oldestRequest.Count; 181_queueCount += oldestRequest.Count; 202_queueCount += permitCount; 333_queueCount -= nextPendingRequest.Count; 350_queueCount += nextPendingRequest.Count; 491limiter._queueCount -= registration.Count;
10 references to _queueCount
System.Threading.RateLimiting (10)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (10)
89CurrentQueuedCount = _queueCount, 159Debug.Assert(_options.QueueLimit >= _queueCount); 160if (_options.QueueLimit - _queueCount < permitCount) 169Debug.Assert(_queueCount >= 0); 190while (_options.QueueLimit - _queueCount < permitCount); 203Debug.Assert(_queueCount <= _options.QueueLimit); 211int replenishAmount = permitCount - _permitCount + _queueCount; 235if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst)) 358Debug.Assert(_queueCount >= 0);