17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38
/// Access to this is synchronized via <see cref="
_gate
"/>
209
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
216
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
224
using (
_gate
.DisposableWait())
235
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
246
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
258
using (
_gate
.DisposableWait())
273
using (
_gate
.DisposableWait())
294
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
310
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
357
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
385
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
424
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
449
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,