26 references to _gate
Microsoft.CodeAnalysis.Workspaces (26)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (7)
29
/// <remarks>This class should be free-threaded, and any synchronization is done via <see cref="ProjectSystemProject.
_gate
"/>.
117
using (_project.
_gate
.DisposableWait())
187
using (_project.
_gate
.DisposableWait())
247
using (_project.
_gate
.DisposableWait())
268
using (_project.
_gate
.DisposableWait())
276
using (await _project.
_gate
.DisposableWaitAsync().ConfigureAwait(false))
337
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())
902
using (
_gate
.DisposableWait())
948
using (
_gate
.DisposableWait())
1042
using (
_gate
.DisposableWait())
1056
using (
_gate
.DisposableWait())
1064
Debug.Assert(
_gate
.CurrentCount == 0);
1075
using (
_gate
.DisposableWait())
1088
using (
_gate
.DisposableWait())
1111
using (
_gate
.DisposableWait())
1126
using (
_gate
.DisposableWait())
1134
Debug.Assert(
_gate
.CurrentCount == 0);
1147
using (
_gate
.DisposableWait())
1173
using (
_gate
.DisposableWait())
1193
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())