10 references to s_gate
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\IsolatedAnalyzerReferenceSet.Core.cs (10)
44
/// <remarks>Guarded by <see cref="
s_gate
"/></remarks>
59
/// <remarks>Guarded by <see cref="
s_gate
"/></remarks>
75
/// <remarks>Guarded by <see cref="
s_gate
"/>. Note that while the gate is static, this is instance data on the <see
84
/// <remarks>Guarded by <see cref="
s_gate
"/>. Note that while the gate is static, this is instance data on the <see
110
Contract.ThrowIfTrue(
s_gate
.CurrentCount != 0, "Lock must be held");
153
Contract.ThrowIfTrue(
s_gate
.CurrentCount != 0, "Lock must be held");
246
? await
s_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false)
247
:
s_gate
.DisposableWait(cancellationToken))
261
? await
s_gate
.DisposableWaitAsync(cancellationToken).ConfigureAwait(false)
262
:
s_gate
.DisposableWait(cancellationToken))