6 writes to _queueCount
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (6)
172_queueCount -= oldestRequest.Count; 185_queueCount += oldestRequest.Count; 206_queueCount += permitCount; 337_queueCount -= nextPendingRequest.Count; 354_queueCount += nextPendingRequest.Count; 495limiter._queueCount -= registration.Count;
10 references to _queueCount
System.Threading.RateLimiting (10)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (10)
93CurrentQueuedCount = _queueCount, 163Debug.Assert(_options.QueueLimit >= _queueCount); 164if (_options.QueueLimit - _queueCount < permitCount) 173Debug.Assert(_queueCount >= 0); 194while (_options.QueueLimit - _queueCount < permitCount); 207Debug.Assert(_queueCount <= _options.QueueLimit); 215int replenishAmount = permitCount - _permitCount + _queueCount; 239if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst)) 362Debug.Assert(_queueCount >= 0);