17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38
/// Access to this is synchronized via <see cref="
_gate
"/>
207
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
214
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
222
using (
_gate
.DisposableWait())
233
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
244
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
256
using (
_gate
.DisposableWait())
271
using (
_gate
.DisposableWait())
292
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
308
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
355
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
383
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
422
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
447
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,