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