6 writes to _queueCount
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (6)
155
_queueCount
-= oldestRequest.Count;
168
_queueCount
+= oldestRequest.Count;
189
_queueCount
+= permitCount;
282
_queueCount
-= nextPendingRequest.Count;
300
_queueCount
+= nextPendingRequest.Count;
458
limiter.
_queueCount
-= registration.Count;
9 references to _queueCount
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (9)
74
CurrentQueuedCount =
_queueCount
,
146
Debug.Assert(_options.QueueLimit >=
_queueCount
);
147
if (_options.QueueLimit -
_queueCount
< permitCount)
156
Debug.Assert(
_queueCount
>= 0);
177
while (_options.QueueLimit -
_queueCount
< permitCount);
190
Debug.Assert(
_queueCount
<= _options.QueueLimit);
213
if (
_queueCount
== 0 || (
_queueCount
> 0 && _options.QueueProcessingOrder == QueueProcessingOrder.NewestFirst))
308
Debug.Assert(
_queueCount
>= 0);