14 references to CancellationToken
Microsoft.CodeAnalysis.Features (14)
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeEditor.cs (11)
84
documentWithMovedType = await removeUnnecessaryImports.RemoveUnnecessaryImportsAsync(documentWithMovedType,
CancellationToken
).ConfigureAwait(false);
87
documentWithMovedTypeId, await documentWithMovedType.GetRequiredSyntaxRootAsync(
CancellationToken
).ConfigureAwait(false));
90
var rootWithMovedType = await documentWithMovedType.GetRequiredSyntaxRootAsync(
CancellationToken
).ConfigureAwait(false);
100
CancellationToken
).ConfigureAwait(false);
103
sourceDocumentId, await sourceDocument.GetRequiredSyntaxRootAsync(
CancellationToken
).ConfigureAwait(false));
119
var documentEditor = await DocumentEditor.CreateAsync(document,
CancellationToken
).ConfigureAwait(false);
158
var documentFormattingOptions = await document.GetDocumentFormattingOptionsAsync(
CancellationToken
).ConfigureAwait(false);
169
var lineFormattingOptions = await document.GetLineFormattingOptionsAsync(
CancellationToken
).ConfigureAwait(false);
187
var documentEditor = await DocumentEditor.CreateAsync(sourceDocument,
CancellationToken
).ConfigureAwait(false);
266
var symbol = (INamedTypeSymbol?)State.SemanticDocument.SemanticModel.GetDeclaredSymbol(node,
CancellationToken
);
268
if (!semanticFacts.IsPartial(symbol,
CancellationToken
))
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (1)
32
return await GetNamespaceScopeChangedSolutionAsync(namespaceDeclaration, node, documentToEdit,
CancellationToken
).ConfigureAwait(false);
CodeRefactorings\MoveType\AbstractMoveTypeService.RenameTypeEditor.cs (2)
27
var symbol = State.SemanticDocument.SemanticModel.GetDeclaredSymbol(State.TypeNode,
CancellationToken
);
28
return await Renamer.RenameSymbolAsync(solution, symbol, new SymbolRenameOptions(), FileName,
CancellationToken
).ConfigureAwait(false);