17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38
/// Access to this is synchronized via <see cref="
_gate
"/>
224
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
231
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
239
using (
_gate
.DisposableWait())
250
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
261
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
273
using (
_gate
.DisposableWait())
288
using (
_gate
.DisposableWait())
309
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
325
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
372
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
394
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
433
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
463
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
Workspace\ProjectSystem\ProjectSystemProjectFactory.ProjectUpdateState.cs (1)
18
/// This state is updated by various project system update operations under the <see cref="
_gate
"/>. Importantly,