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)
216
using (
_gate
.DisposableWait())
491
using (
_gate
.DisposableWait())
500
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
538
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
900
using (
_gate
.DisposableWait())
946
using (
_gate
.DisposableWait())
1040
using (
_gate
.DisposableWait())
1054
using (
_gate
.DisposableWait())
1062
Debug.Assert(
_gate
.CurrentCount == 0);
1073
using (
_gate
.DisposableWait())
1086
using (
_gate
.DisposableWait())
1109
using (
_gate
.DisposableWait())
1124
using (
_gate
.DisposableWait())
1132
Debug.Assert(
_gate
.CurrentCount == 0);
1145
using (
_gate
.DisposableWait())
1171
using (
_gate
.DisposableWait())
1191
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())