5 writes to _permitCount
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (5)
76_permitCount = options.PermitLimit; 242_permitCount -= permitCount; 309_permitCount = _options.PermitLimit; 338_permitCount -= nextPendingRequest.Count; 344_permitCount += nextPendingRequest.Count;
11 references to _permitCount
System.Threading.RateLimiting (11)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (11)
92CurrentAvailablePermits = _permitCount, 114if (_permitCount > 0) 148if (permitCount == 0 && _permitCount > 0) 215int replenishAmount = permitCount - _permitCount + _queueCount; 227if (_permitCount >= permitCount && _permitCount != 0) 243Debug.Assert(_permitCount >= 0); 301int availablePermitCounters = _permitCount; 329else if (_permitCount >= nextPendingRequest.Count) 339Debug.Assert(_permitCount >= 0); 371if (_permitCount == _options.PermitLimit)