1 write to _lock
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (1)
421
_lock
= needsLock ? new SemaphoreSlim(initialCount: 1, maxCount: 1) : null;
4 references to _lock
Microsoft.CodeAnalysis.InteractiveHost (4)
src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (4)
488
Debug.Assert(
_lock
is not null, "Should only be invoked when _lock is non-null");
489
return
_lock
.WaitAsync(CancellationToken.None);
495
Debug.Assert(
_lock
is not null, "Should only be invoked when _lock is non-null");
496
_lock
.Release();