1 write to _nextSemaphore
System.ServiceModel.Primitives (1)
Internals\System\Runtime\AsyncLock.cs (1)
79_nextSemaphore = nextSemaphore;
8 references to _nextSemaphore
System.ServiceModel.Primitives (8)
Internals\System\Runtime\AsyncLock.cs (8)
85Fx.Assert(_nextSemaphore == _asyncLock._currentSemaphore.Value, "_nextSemaphore was expected to by the current semaphore"); 104await _nextSemaphore.WaitAsync(); 106_nextSemaphore.Release(); 107s_semaphorePool.Return(_nextSemaphore); 112Fx.Assert(_nextSemaphore == _asyncLock._currentSemaphore.Value, "_nextSemaphore was expected to by the current semaphore"); 122_nextSemaphore.Wait(); 124_nextSemaphore.Release(); 125s_semaphorePool.Return(_nextSemaphore);