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)
105CurrentAvailablePermits = _permitCount, 124if (_permitCount > 0) 159if (permitCount == 0 && _permitCount > 0) 229if (_permitCount >= permitCount && _permitCount != 0) 246Debug.Assert(_permitCount >= 0); 318Debug.Assert(_permitCount <= _options.PermitLimit); 339else if (_permitCount >= nextPendingRequest.Count) 350Debug.Assert(_permitCount >= 0); 383if (_permitCount == _options.PermitLimit)