1 write to _stopCancellationToken
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\ModelComputation.cs (1)
68_stopCancellationToken = _stopTokenSource.Token;
7 references to _stopCancellationToken
Microsoft.CodeAnalysis.EditorFeatures (7)
IntelliSense\ModelComputation.cs (7)
90Contract.ThrowIfTrue(_stopCancellationToken.IsCancellationRequested); 135Contract.ThrowIfTrue(_stopCancellationToken.IsCancellationRequested, "should not chain tasks after we've been cancelled"); 144t => transformModelAsync(t.Result, _stopCancellationToken), 145_stopCancellationToken, TaskContinuationOptions.OnlyOnRanToCompletion, _taskScheduler); 158await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true, _stopCancellationToken); 162_stopCancellationToken.ThrowIfCancellationRequested(); 172_stopCancellationToken, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default).Unwrap();