6 writes to _queueCount
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (6)
153
_queueCount
-= oldestRequest.Count;
166
_queueCount
+= oldestRequest.Count;
187
_queueCount
+= permitCount;
280
_queueCount
-= nextPendingRequest.Count;
298
_queueCount
+= nextPendingRequest.Count;
456
limiter.
_queueCount
-= registration.Count;
9 references to _queueCount
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (9)
72
CurrentQueuedCount =
_queueCount
,
144
Debug.Assert(_options.QueueLimit >=
_queueCount
);
145
if (_options.QueueLimit -
_queueCount
< permitCount)
154
Debug.Assert(
_queueCount
>= 0);
175
while (_options.QueueLimit -
_queueCount
< permitCount);
188
Debug.Assert(
_queueCount
<= _options.QueueLimit);
211
if (
_queueCount
== 0 || (
_queueCount
> 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst))
306
Debug.Assert(
_queueCount
>= 0);