27 references to _gate
Microsoft.CodeAnalysis.Workspaces (27)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (8)
28
/// <remarks>This class should be free-threaded, and any synchronization is done via <see cref="ProjectSystemProject.
_gate
"/>.
99
using (_project.
_gate
.DisposableWait())
151
using (_project.
_gate
.DisposableWait())
195
using (_project.
_gate
.DisposableWait())
250
using (_project.
_gate
.DisposableWait())
312
using (_project.
_gate
.DisposableWait())
320
using (await _project.
_gate
.DisposableWaitAsync().ConfigureAwait(false))
379
using (_project.
_gate
.DisposableWait())
Workspace\ProjectSystem\ProjectSystemProject.cs (19)
218
using (
_gate
.DisposableWait())
493
using (
_gate
.DisposableWait())
502
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
540
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
902
using (
_gate
.DisposableWait())
948
using (
_gate
.DisposableWait())
1068
using (
_gate
.DisposableWait())
1082
using (
_gate
.DisposableWait())
1090
Debug.Assert(
_gate
.CurrentCount == 0);
1101
using (
_gate
.DisposableWait())
1114
using (
_gate
.DisposableWait())
1137
using (
_gate
.DisposableWait())
1152
using (
_gate
.DisposableWait())
1160
Debug.Assert(
_gate
.CurrentCount == 0);
1173
using (
_gate
.DisposableWait())
1199
using (
_gate
.DisposableWait())
1219
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())