17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38
/// Access to this is synchronized via <see cref="
_gate
"/>
219
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
226
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
234
using (
_gate
.DisposableWait())
245
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
256
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
268
using (
_gate
.DisposableWait())
283
using (
_gate
.DisposableWait())
304
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
320
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
367
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
389
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
428
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
453
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,