21 references to DisposableWait
Microsoft.CodeAnalysis.Workspaces (21)
Shared\TestHooks\AsynchronousOperationListener.cs (5)
94
using (_gate.
DisposableWait
(CancellationToken.None))
159
using (_gate.
DisposableWait
(CancellationToken.None))
203
using (_gate.
DisposableWait
(CancellationToken.None))
220
using (_gate.
DisposableWait
(CancellationToken.None))
231
using (_gate.
DisposableWait
(CancellationToken.None))
Shared\TestHooks\AsynchronousOperationListener+AsyncToken.cs (1)
27
using (Listener._gate.
DisposableWait
(CancellationToken.None))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CancellableLazy`1.cs (1)
53
using (gate.
DisposableWait
(cancellationToken))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventMap.cs (3)
26
using (_guard.
DisposableWait
())
37
using (_guard.
DisposableWait
())
70
using (_guard.
DisposableWait
())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (1)
241
/// Since we want to avoid boxing the return from <see cref="NonReentrantLock.
DisposableWait
"/>, this type must be public.
Workspace\Workspace_Editor.cs (10)
54
using (_stateLock.
DisposableWait
())
68
using (_stateLock.
DisposableWait
())
86
using (_stateLock.
DisposableWait
())
169
using (_stateLock.
DisposableWait
())
180
using (_stateLock.
DisposableWait
())
192
using (_stateLock.
DisposableWait
())
242
using (_stateLock.
DisposableWait
())
265
using (_stateLock.
DisposableWait
())
308
using (_stateLock.
DisposableWait
())
505
using (_stateLock.
DisposableWait
())