3 instantiations of SemaphoreLock
Microsoft.DotNet.Build.Tasks.Feed (3)
src\SemaphoreLock.cs (3)
28return new ValueTask<SemaphoreLock>(new SemaphoreLock(null)); 33return new ValueTask<SemaphoreLock>(new SemaphoreLock(sem)); 39return new SemaphoreLock(sem);
5 references to SemaphoreLock
Microsoft.DotNet.Build.Tasks.Feed (5)
src\SemaphoreLock.cs (5)
24public static ValueTask<SemaphoreLock> LockAsync(SemaphoreSlim sem) 28return new ValueTask<SemaphoreLock>(new SemaphoreLock(null)); 33return new ValueTask<SemaphoreLock>(new SemaphoreLock(sem)); 36static async Task<SemaphoreLock> WaitForLock(Task waitTask, SemaphoreSlim sem) 42return new ValueTask<SemaphoreLock>(WaitForLock(waitTask, sem));