31 references to _gate
Microsoft.CodeAnalysis.Workspaces (31)
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))
444
using (_project.
_gate
.DisposableWait())
499
using (_project.
_gate
.DisposableWait())
Workspace\ProjectSystem\ProjectSystemProject.cs (20)
222
using (
_gate
.DisposableWait())
462
using (
_gate
.DisposableWait())
500
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
788
using (
_gate
.DisposableWait())
833
using (
_gate
.DisposableWait())
861
using (
_gate
.DisposableWait())
887
using (
_gate
.DisposableWait())
941
using (
_gate
.DisposableWait())
1034
using (
_gate
.DisposableWait())
1072
using (
_gate
.DisposableWait())
1080
Debug.Assert(
_gate
.CurrentCount == 0);
1091
using (
_gate
.DisposableWait())
1104
using (
_gate
.DisposableWait())
1156
using (
_gate
.DisposableWait())
1184
using (
_gate
.DisposableWait())
1192
Debug.Assert(
_gate
.CurrentCount == 0);
1209
using (
_gate
.DisposableWait())
1235
using (
_gate
.DisposableWait())
1260
using (
_gate
.DisposableWait())