17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38/// Access to this is synchronized via <see cref="_gate"/> 225Contract.ThrowIfFalse(_gate.CurrentCount == 0); 232Contract.ThrowIfFalse(_gate.CurrentCount == 0); 240using (_gate.DisposableWait()) 251using (await _gate.DisposableWaitAsync(cancellationToken).ConfigureAwait(false)) 262using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 274using (_gate.DisposableWait()) 289using (_gate.DisposableWait()) 310using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 326Contract.ThrowIfFalse(_gate.CurrentCount == 0); 373Contract.ThrowIfFalse(_gate.CurrentCount == 0); 395Contract.ThrowIfFalse(_gate.CurrentCount == 0); 434Contract.ThrowIfFalse(_gate.CurrentCount == 0); 464Contract.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,