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)
106CurrentAvailablePermits = _permitCount, 125if (_permitCount > 0) 160if (permitCount == 0 && _permitCount > 0) 230if (_permitCount >= permitCount && _permitCount != 0) 247Debug.Assert(_permitCount >= 0); 319Debug.Assert(_permitCount <= _options.PermitLimit); 340else if (_permitCount >= nextPendingRequest.Count) 351Debug.Assert(_permitCount >= 0); 384if (_permitCount == _options.PermitLimit)