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())
1066
using (
_gate
.DisposableWait())
1080
using (
_gate
.DisposableWait())
1088
Debug.Assert(
_gate
.CurrentCount == 0);
1099
using (
_gate
.DisposableWait())
1112
using (
_gate
.DisposableWait())
1135
using (
_gate
.DisposableWait())
1150
using (
_gate
.DisposableWait())
1158
Debug.Assert(
_gate
.CurrentCount == 0);
1171
using (
_gate
.DisposableWait())
1197
using (
_gate
.DisposableWait())
1217
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())