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;
507
limiter.
_queueCount
-= registration.Count;
9 references to _queueCount
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (9)
106
CurrentQueuedCount =
_queueCount
,
174
Debug.Assert(_options.QueueLimit >=
_queueCount
);
175
if (_options.QueueLimit -
_queueCount
< permitCount)
184
Debug.Assert(
_queueCount
>= 0);
205
while (_options.QueueLimit -
_queueCount
< permitCount);
218
Debug.Assert(
_queueCount
<= _options.QueueLimit);
241
if (
_queueCount
== 0 || (
_queueCount
> 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst))
374
Debug.Assert(
_queueCount
>= 0);