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)
85
Fx.Assert(
_nextSemaphore
== _asyncLock._currentSemaphore.Value, "_nextSemaphore was expected to by the current semaphore");
104
await
_nextSemaphore
.WaitAsync();
106
_nextSemaphore
.Release();
107
s_semaphorePool.Return(
_nextSemaphore
);
112
Fx.Assert(
_nextSemaphore
== _asyncLock._currentSemaphore.Value, "_nextSemaphore was expected to by the current semaphore");
122
_nextSemaphore
.Wait();
124
_nextSemaphore
.Release();
125
s_semaphorePool.Return(
_nextSemaphore
);