17 references to _gate
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (16)
37/// Access to this is synchronized via <see cref="_gate"/> 206Contract.ThrowIfFalse(_gate.CurrentCount == 0); 213Contract.ThrowIfFalse(_gate.CurrentCount == 0); 221using (_gate.DisposableWait()) 232using (await _gate.DisposableWaitAsync(cancellationToken).ConfigureAwait(false)) 243using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 255using (_gate.DisposableWait()) 270using (_gate.DisposableWait()) 291using (useAsync ? await _gate.DisposableWaitAsync().ConfigureAwait(false) : _gate.DisposableWait()) 307Contract.ThrowIfFalse(_gate.CurrentCount == 0); 354Contract.ThrowIfFalse(_gate.CurrentCount == 0); 382Contract.ThrowIfFalse(_gate.CurrentCount == 0); 421Contract.ThrowIfFalse(_gate.CurrentCount == 0); 446Contract.ThrowIfFalse(_gate.CurrentCount == 0);
Workspace\ProjectSystem\ProjectSystemProjectFactory.ProjectUpdateState.cs (1)
17/// This state is updated by various project system update operations under the <see cref="_gate"/>. Importantly,