6 writes to _queueCount
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (6)
183_queueCount -= oldestRequest.Count; 196_queueCount += oldestRequest.Count; 217_queueCount += permitCount; 347_queueCount -= nextPendingRequest.Count; 366_queueCount += nextPendingRequest.Count; 507limiter._queueCount -= registration.Count;
9 references to _queueCount
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (9)
106CurrentQueuedCount = _queueCount, 174Debug.Assert(_options.QueueLimit >= _queueCount); 175if (_options.QueueLimit - _queueCount < permitCount) 184Debug.Assert(_queueCount >= 0); 205while (_options.QueueLimit - _queueCount < permitCount); 218Debug.Assert(_queueCount <= _options.QueueLimit); 241if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst)) 374Debug.Assert(_queueCount >= 0);