17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38
/// Access to this is synchronized via <see cref="
_gate
"/>
225
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
232
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
240
using (
_gate
.DisposableWait())
251
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
262
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
274
using (
_gate
.DisposableWait())
289
using (
_gate
.DisposableWait())
310
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
326
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
373
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
395
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
434
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
464
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,