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 110Contract.ThrowIfTrue(s_gate.CurrentCount != 0, "Lock must be held"); 153Contract.ThrowIfTrue(s_gate.CurrentCount != 0, "Lock must be held"); 236? await s_gate.DisposableWaitAsync(cancellationToken).ConfigureAwait(false) 237: s_gate.DisposableWait(cancellationToken)) 251? await s_gate.DisposableWaitAsync(cancellationToken).ConfigureAwait(false) 252: s_gate.DisposableWait(cancellationToken))