32 references to _gate
Microsoft.CodeAnalysis.Workspaces (32)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (11)
28
/// <remarks>This class should be free-threaded, and any synchronization is done via <see cref="ProjectSystemProject.
_gate
"/>.
104
using (_project.
_gate
.DisposableWait())
156
using (_project.
_gate
.DisposableWait())
195
Debug.Assert(_project.
_gate
.CurrentCount == 0);
235
Debug.Assert(_project.
_gate
.CurrentCount == 0);
262
using (_project.
_gate
.DisposableWait())
317
using (_project.
_gate
.DisposableWait())
379
using (_project.
_gate
.DisposableWait())
387
using (await _project.
_gate
.DisposableWaitAsync().ConfigureAwait(false))
446
using (_project.
_gate
.DisposableWait())
501
using (_project.
_gate
.DisposableWait())
Workspace\ProjectSystem\ProjectSystemProject.cs (21)
253
using (
_gate
.DisposableWait())
506
using (
_gate
.DisposableWait())
515
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
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())
1225
Debug.Assert(
_gate
.CurrentCount == 0);
1236
using (
_gate
.DisposableWait())
1249
using (
_gate
.DisposableWait())
1272
using (
_gate
.DisposableWait())
1287
using (
_gate
.DisposableWait())
1295
Debug.Assert(
_gate
.CurrentCount == 0);
1308
using (
_gate
.DisposableWait())
1334
using (
_gate
.DisposableWait())
1348
using (
_gate
.DisposableWait())