17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38/// Access to this is synchronized via <see cref="_gate"/> 224Contract.ThrowIfFalse(_gate.CurrentCount == 0); 231Contract.ThrowIfFalse(_gate.CurrentCount == 0); 239using (_gate.DisposableWait()) 250using (await _gate.DisposableWaitAsync(cancellationToken).ConfigureAwait(false)) 261using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 273using (_gate.DisposableWait()) 288using (_gate.DisposableWait()) 309using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 325Contract.ThrowIfFalse(_gate.CurrentCount == 0); 372Contract.ThrowIfFalse(_gate.CurrentCount == 0); 394Contract.ThrowIfFalse(_gate.CurrentCount == 0); 433Contract.ThrowIfFalse(_gate.CurrentCount == 0); 463Contract.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,