5 writes to _permitCount
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (5)
84
_permitCount
= options.PermitLimit;
245
_permitCount
-= permitCount;
317
_permitCount
+= oldSegmentPermitCount;
348
_permitCount
-= nextPendingRequest.Count;
355
_permitCount
+= nextPendingRequest.Count;
10 references to _permitCount
System.Threading.RateLimiting (10)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (10)
105
CurrentAvailablePermits =
_permitCount
,
124
if (
_permitCount
> 0)
159
if (permitCount == 0 &&
_permitCount
> 0)
229
if (
_permitCount
>= permitCount &&
_permitCount
!= 0)
246
Debug.Assert(
_permitCount
>= 0);
318
Debug.Assert(
_permitCount
<= _options.PermitLimit);
339
else if (
_permitCount
>= nextPendingRequest.Count)
350
Debug.Assert(
_permitCount
>= 0);
383
if (
_permitCount
== _options.PermitLimit)