5 writes to _permitCount
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (5)
64
_permitCount
= _options.PermitLimit;
216
_permitCount
-= permitCount;
244
_permitCount
+= releaseCount;
281
_permitCount
-= nextPendingRequest.Count;
290
_permitCount
+= nextPendingRequest.Count;
11 references to _permitCount
System.Threading.RateLimiting (11)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (11)
73
CurrentAvailablePermits =
_permitCount
,
94
if (
_permitCount
> 0)
104
if (
_permitCount
>= permitCount)
129
if (permitCount == 0 &&
_permitCount
> 0 && !_disposed)
201
if (
_permitCount
>= permitCount &&
_permitCount
!= 0)
217
Debug.Assert(
_permitCount
>= 0);
245
Debug.Assert(
_permitCount
<= _options.PermitLimit);
274
if (
_permitCount
>= nextPendingRequest.Count)
283
Debug.Assert(
_permitCount
>= 0);
316
if (
_permitCount
== _options.PermitLimit)