17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
37
/// Access to this is synchronized via <see cref="
_gate
"/>
206
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
213
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
221
using (
_gate
.DisposableWait())
232
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
243
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
255
using (
_gate
.DisposableWait())
270
using (
_gate
.DisposableWait())
291
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
307
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
354
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
382
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
421
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
446
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
Workspace\ProjectSystem\ProjectSystemProjectFactory.ProjectUpdateState.cs (1)
17
/// This state is updated by various project system update operations under the <see cref="
_gate
"/>. Importantly,