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)
79
Contract.ThrowIfTrue(
_stopCancellationToken
.IsCancellationRequested);
104
Contract.ThrowIfTrue(
_stopCancellationToken
.IsCancellationRequested, "should not chain tasks after we've been cancelled");
126
await ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true,
_stopCancellationToken
);
130
_stopCancellationToken
.ThrowIfCancellationRequested();
140
_stopCancellationToken
, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default).Unwrap();
151
return await transformModelAsync(model,
_stopCancellationToken
).ConfigureAwait(false);