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)
71CurrentAvailablePermits = _permitCount, 92if (_permitCount > 0) 102if (_permitCount >= permitCount) 127if (permitCount == 0 && _permitCount > 0 && !_disposed) 199if (_permitCount >= permitCount && _permitCount != 0) 215Debug.Assert(_permitCount >= 0); 243Debug.Assert(_permitCount <= _options.PermitLimit); 272if (_permitCount >= nextPendingRequest.Count) 281Debug.Assert(_permitCount >= 0); 314if (_permitCount == _options.PermitLimit)