6 writes to _queueCount
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (6)
184_queueCount -= oldestRequest.Count; 197_queueCount += oldestRequest.Count; 218_queueCount += permitCount; 348_queueCount -= nextPendingRequest.Count; 367_queueCount += nextPendingRequest.Count; 508limiter._queueCount -= registration.Count;
9 references to _queueCount
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (9)
107CurrentQueuedCount = _queueCount, 175Debug.Assert(_options.QueueLimit >= _queueCount); 176if (_options.QueueLimit - _queueCount < permitCount) 185Debug.Assert(_queueCount >= 0); 206while (_options.QueueLimit - _queueCount < permitCount); 219Debug.Assert(_queueCount <= _options.QueueLimit); 242if (_queueCount == 0 || (_queueCount > 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst)) 375Debug.Assert(_queueCount >= 0);