17 references to _gate
Microsoft.CodeAnalysis.Remote.ServiceHub (17)
Host\RemoteWorkspace.cs (4)
138
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
171
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
195
using (await
_gate
.DisposableWaitAsync(CancellationToken.None).ConfigureAwait(false))
300
using (await
_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false))
Host\RemoteWorkspace.InFlightSolution.cs (7)
43
/// <see cref="RemoteWorkspace.
_gate
"/>.
59
Contract.ThrowIfFalse(workspace.
_gate
.CurrentCount == 0);
81
Contract.ThrowIfFalse(_workspace.
_gate
.CurrentCount == 0);
90
Contract.ThrowIfFalse(_workspace.
_gate
.CurrentCount == 0);
109
Contract.ThrowIfFalse(_workspace.
_gate
.CurrentCount == 0);
146
Contract.ThrowIfFalse(_workspace.
_gate
.CurrentCount == 0);
160
Contract.ThrowIfFalse(_workspace.
_gate
.CurrentCount == 0);
Host\RemoteWorkspace_SolutionCaching.cs (6)
16
/// cref="
_gate
"/>.
22
/// same checksum that don't run concurrently. Only read/write while holding <see cref="
_gate
"/>.
31
/// read/write while holding <see cref="
_gate
"/>.
44
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
67
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);
103
Contract.ThrowIfFalse(
_gate
.CurrentCount == 0);