1 write to _stopCancellationToken
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\ModelComputation.cs (1)
57_stopCancellationToken = _stopTokenSource.Token;
6 references to _stopCancellationToken
Microsoft.CodeAnalysis.EditorFeatures (6)
IntelliSense\ModelComputation.cs (6)
79Contract.ThrowIfTrue(_stopCancellationToken.IsCancellationRequested); 104Contract.ThrowIfTrue(_stopCancellationToken.IsCancellationRequested, "should not chain tasks after we've been cancelled"); 126await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true, _stopCancellationToken); 130_stopCancellationToken.ThrowIfCancellationRequested(); 140_stopCancellationToken, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default).Unwrap(); 151return await transformModelAsync(model, _stopCancellationToken).ConfigureAwait(false);