2 implementations of CancellationToken
Microsoft.CodeAnalysis.Workspaces (2)
CodeFixes\FixAllOccurrences\FixAllContext.cs (1)
68public CancellationToken CancellationToken { get; }
CodeRefactorings\FixAllOccurences\FixAllContext.cs (1)
51public CancellationToken CancellationToken { get; }
9 references to CancellationToken
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (4)
FixAllGetFixesService.cs (4)
44fixAllContext.CancellationToken.ThrowIfCancellationRequested(); 45return await codeAction.GetChangedSolutionInternalAsync(fixAllContext.Solution, cancellationToken: fixAllContext.CancellationToken).ConfigureAwait(false); 58codeAction, showPreviewChangesDialog, fixAllContext.ProgressTracker, fixAllContext.State, fixAllContext.CancellationToken).ConfigureAwait(false); 78fixAllContext.CancellationToken))
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
Suggestions\FixAll\FixAllGetFixesService.cs (4)
44fixAllContext.CancellationToken.ThrowIfCancellationRequested(); 45return await codeAction.GetChangedSolutionInternalAsync(fixAllContext.Solution, cancellationToken: fixAllContext.CancellationToken).ConfigureAwait(false); 58codeAction, showPreviewChangesDialog, fixAllContext.ProgressTracker, fixAllContext.State, fixAllContext.CancellationToken).ConfigureAwait(false); 78fixAllContext.CancellationToken))
Microsoft.CodeAnalysis.Workspaces (1)
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
66currentSolution = await CleanupAndApplyChangesAsync(progressTracker, currentSolution, docIdToNewRootOrText, fixAllContext.CancellationToken).ConfigureAwait(false);