5 writes to _permitCount
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (5)
85
_permitCount
= options.PermitLimit;
246
_permitCount
-= permitCount;
318
_permitCount
+= oldSegmentPermitCount;
349
_permitCount
-= nextPendingRequest.Count;
356
_permitCount
+= nextPendingRequest.Count;
10 references to _permitCount
System.Threading.RateLimiting (10)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (10)
106
CurrentAvailablePermits =
_permitCount
,
125
if (
_permitCount
> 0)
160
if (permitCount == 0 &&
_permitCount
> 0)
230
if (
_permitCount
>= permitCount &&
_permitCount
!= 0)
247
Debug.Assert(
_permitCount
>= 0);
319
Debug.Assert(
_permitCount
<= _options.PermitLimit);
340
else if (
_permitCount
>= nextPendingRequest.Count)
351
Debug.Assert(
_permitCount
>= 0);
384
if (
_permitCount
== _options.PermitLimit)