6 writes to _queueCount
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (6)
171_queueCount -= oldestRequest.Count; 184_queueCount += oldestRequest.Count; 205_queueCount += permitCount; 336_queueCount -= nextPendingRequest.Count; 353_queueCount += nextPendingRequest.Count; 494limiter._queueCount -= registration.Count;
10 references to _queueCount
System.Threading.RateLimiting (10)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (10)
92CurrentQueuedCount = _queueCount, 162Debug.Assert(_options.QueueLimit >= _queueCount); 163if (_options.QueueLimit - _queueCount < permitCount) 172Debug.Assert(_queueCount >= 0); 193while (_options.QueueLimit - _queueCount < permitCount); 206Debug.Assert(_queueCount <= _options.QueueLimit); 214int replenishAmount = permitCount - _permitCount + _queueCount; 238if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst)) 361Debug.Assert(_queueCount >= 0);