17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38/// Access to this is synchronized via <see cref="_gate"/> 219Contract.ThrowIfFalse(_gate.CurrentCount == 0); 226Contract.ThrowIfFalse(_gate.CurrentCount == 0); 234using (_gate.DisposableWait()) 245using (await _gate.DisposableWaitAsync(cancellationToken).ConfigureAwait(false)) 256using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 268using (_gate.DisposableWait()) 283using (_gate.DisposableWait()) 304using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 320Contract.ThrowIfFalse(_gate.CurrentCount == 0); 367Contract.ThrowIfFalse(_gate.CurrentCount == 0); 389Contract.ThrowIfFalse(_gate.CurrentCount == 0); 428Contract.ThrowIfFalse(_gate.CurrentCount == 0); 453Contract.ThrowIfFalse(_gate.CurrentCount == 0);
Workspace\ProjectSystem\ProjectSystemProjectFactory.ProjectUpdateState.cs (1)
18/// This state is updated by various project system update operations under the <see cref="_gate"/>. Importantly,