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