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;
508
limiter.
_queueCount
-= registration.Count;
9 references to _queueCount
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (9)
107
CurrentQueuedCount =
_queueCount
,
175
Debug.Assert(_options.QueueLimit >=
_queueCount
);
176
if (_options.QueueLimit -
_queueCount
< permitCount)
185
Debug.Assert(
_queueCount
>= 0);
206
while (_options.QueueLimit -
_queueCount
< permitCount);
219
Debug.Assert(
_queueCount
<= _options.QueueLimit);
242
if (
_queueCount
== 0 || (
_queueCount
> 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst))
375
Debug.Assert(
_queueCount
>= 0);