17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
38/// Access to this is synchronized via <see cref="_gate"/> 209Contract.ThrowIfFalse(_gate.CurrentCount == 0); 216Contract.ThrowIfFalse(_gate.CurrentCount == 0); 224using (_gate.DisposableWait()) 235using (await _gate.DisposableWaitAsync(cancellationToken).ConfigureAwait(false)) 246using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 258using (_gate.DisposableWait()) 273using (_gate.DisposableWait()) 294using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 310Contract.ThrowIfFalse(_gate.CurrentCount == 0); 357Contract.ThrowIfFalse(_gate.CurrentCount == 0); 385Contract.ThrowIfFalse(_gate.CurrentCount == 0); 424Contract.ThrowIfFalse(_gate.CurrentCount == 0); 449Contract.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,