5 writes to _permitCount
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (5)
75_permitCount = options.PermitLimit; 241_permitCount -= permitCount; 308_permitCount = _options.PermitLimit; 337_permitCount -= nextPendingRequest.Count; 343_permitCount += nextPendingRequest.Count;
11 references to _permitCount
System.Threading.RateLimiting (11)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (11)
91CurrentAvailablePermits = _permitCount, 113if (_permitCount > 0) 147if (permitCount == 0 && _permitCount > 0) 214int replenishAmount = permitCount - _permitCount + _queueCount; 226if (_permitCount >= permitCount && _permitCount != 0) 242Debug.Assert(_permitCount >= 0); 300int availablePermitCounters = _permitCount; 328else if (_permitCount >= nextPendingRequest.Count) 338Debug.Assert(_permitCount >= 0); 370if (_permitCount == _options.PermitLimit)