44 references to DisposableWait
Microsoft.CodeAnalysis.Workspaces (44)
Utilities\Documentation\XmlDocumentationProvider.cs (1)
70
using (_gate.
DisposableWait
(cancellationToken))
Workspace\IsolatedAnalyzerReferenceSet.Core.cs (2)
247
: s_gate.
DisposableWait
(cancellationToken))
262
: s_gate.
DisposableWait
(cancellationToken))
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (7)
104
using (_project._gate.
DisposableWait
())
156
using (_project._gate.
DisposableWait
())
262
using (_project._gate.
DisposableWait
())
317
using (_project._gate.
DisposableWait
())
379
using (_project._gate.
DisposableWait
())
446
using (_project._gate.
DisposableWait
())
501
using (_project._gate.
DisposableWait
())
Workspace\ProjectSystem\ProjectSystemProject.cs (17)
253
using (_gate.
DisposableWait
())
506
using (_gate.
DisposableWait
())
553
using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.
DisposableWait
())
933
using (_gate.
DisposableWait
())
978
using (_gate.
DisposableWait
())
1006
using (_gate.
DisposableWait
())
1036
using (_gate.
DisposableWait
())
1079
using (_gate.
DisposableWait
())
1203
using (_gate.
DisposableWait
())
1217
using (_gate.
DisposableWait
())
1236
using (_gate.
DisposableWait
())
1249
using (_gate.
DisposableWait
())
1272
using (_gate.
DisposableWait
())
1287
using (_gate.
DisposableWait
())
1308
using (_gate.
DisposableWait
())
1334
using (_gate.
DisposableWait
())
1348
using (_gate.
DisposableWait
())
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (5)
222
using (_gate.
DisposableWait
())
244
using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.
DisposableWait
())
256
using (_gate.
DisposableWait
())
271
using (_gate.
DisposableWait
())
292
using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.
DisposableWait
())
Workspace\Solution\ProjectDependencyGraph.cs (5)
187
using (_dataLock.
DisposableWait
())
258
using (_dataLock.
DisposableWait
())
310
using (_dataLock.
DisposableWait
())
353
using (_dataLock.
DisposableWait
(cancellationToken))
405
using (_dataLock.
DisposableWait
(cancellationToken))
Workspace\Solution\VersionSource\RecoverableTextAndVersion.RecoverableText.cs (1)
95
using (Gate.
DisposableWait
(cancellationToken))
Workspace\Workspace.cs (2)
177
using (_serializationLock.
DisposableWait
())
518
using (useAsync ? await _serializationLock.DisposableWaitAsync(cancellationToken).ConfigureAwait(false) : _serializationLock.
DisposableWait
(cancellationToken))
Workspace\Workspace_Editor.cs (4)
287
using (_serializationLock.
DisposableWait
())
303
using (_serializationLock.
DisposableWait
())
445
using (_serializationLock.
DisposableWait
())
469
using (_serializationLock.
DisposableWait
())