1 write to _sourceLock
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SynchronizedMessageSource.cs (1)
20
_sourceLock
= new SemaphoreSlim(1);
8 references to _sourceLock
dotnet-svcutil-lib (8)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SynchronizedMessageSource.cs (8)
31
if (!await
_sourceLock
.WaitAsync(TimeoutHelper.ToMilliseconds(timeout)))
43
_sourceLock
.Release();
55
if (!
_sourceLock
.Wait(TimeoutHelper.ToMilliseconds(timeout)))
68
_sourceLock
.Release();
80
if (!await
_sourceLock
.WaitAsync(TimeoutHelper.ToMilliseconds(timeout)))
93
_sourceLock
.Release();
105
if (!
_sourceLock
.Wait(TimeoutHelper.ToMilliseconds(timeout)))
118
_sourceLock
.Release();