5 writes to _permitCount
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (5)
62
_permitCount
= _options.PermitLimit;
214
_permitCount
-= permitCount;
242
_permitCount
+= releaseCount;
279
_permitCount
-= nextPendingRequest.Count;
288
_permitCount
+= nextPendingRequest.Count;
11 references to _permitCount
System.Threading.RateLimiting (11)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (11)
71
CurrentAvailablePermits =
_permitCount
,
92
if (
_permitCount
> 0)
102
if (
_permitCount
>= permitCount)
127
if (permitCount == 0 &&
_permitCount
> 0 && !_disposed)
199
if (
_permitCount
>= permitCount &&
_permitCount
!= 0)
215
Debug.Assert(
_permitCount
>= 0);
243
Debug.Assert(
_permitCount
<= _options.PermitLimit);
272
if (
_permitCount
>= nextPendingRequest.Count)
281
Debug.Assert(
_permitCount
>= 0);
314
if (
_permitCount
== _options.PermitLimit)