2 implementations of CancellationToken
Microsoft.CodeAnalysis.Workspaces (2)
CodeFixes\FixAllOccurrences\FixAllContext.cs (1)
66
public CancellationToken
CancellationToken
{ get; }
CodeRefactorings\FixAllOccurences\FixAllContext.cs (1)
51
public CancellationToken
CancellationToken
{ get; }
6 references to CancellationToken
Microsoft.CodeAnalysis.Features (4)
CodeFixesAndRefactorings\AbstractFixAllGetFixesService.cs (4)
33
fixAllContext.
CancellationToken
.ThrowIfCancellationRequested();
34
return await codeAction.GetChangedSolutionInternalAsync(fixAllContext.State.Solution, fixAllContext.Progress, fixAllContext.
CancellationToken
).ConfigureAwait(false);
47
codeAction, showPreviewChangesDialog, fixAllContext.Progress, fixAllContext.State, fixAllContext.
CancellationToken
).ConfigureAwait(false);
173
fixAllContext.
CancellationToken
))
Microsoft.CodeAnalysis.Workspaces (2)
CodeFixesAndRefactorings\DefaultFixAllProviderHelpers.cs (1)
32
using var _ = await RemoteKeepAliveSession.CreateAsync(fixAllContext.State.Solution, fixAllContext.
CancellationToken
).ConfigureAwait(false);
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
31
var cancellationToken = originalFixAllContext.
CancellationToken
;