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)
90
Contract.ThrowIfTrue(
_stopCancellationToken
.IsCancellationRequested);
135
Contract.ThrowIfTrue(
_stopCancellationToken
.IsCancellationRequested, "should not chain tasks after we've been cancelled");
144
t => transformModelAsync(t.Result,
_stopCancellationToken
),
145
_stopCancellationToken
, TaskContinuationOptions.OnlyOnRanToCompletion, _taskScheduler);
158
await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true,
_stopCancellationToken
);
162
_stopCancellationToken
.ThrowIfCancellationRequested();
172
_stopCancellationToken
, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default).Unwrap();