19 references to _gate
Microsoft.CodeAnalysis.Workspaces (19)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (19)
153
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
160
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
168
using (
_gate
.DisposableWait())
179
using (await
_gate
.DisposableWaitAsync().ConfigureAwait(false))
190
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
202
using (
_gate
.DisposableWait())
227
using (useAsync ? await
_gate
.DisposableWaitAsync().ConfigureAwait(false) :
_gate
.DisposableWait())
238
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
261
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
272
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
300
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
355
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
401
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
485
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
526
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
558
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
577
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);