5 references to ReplaceNodeAsync
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (3)
143
document = await document.
ReplaceNodeAsync
(declarator, declarator.WithAdditionalAnnotations(DefinitionAnnotation), cancellationToken).ConfigureAwait(false);
171
document = await document.
ReplaceNodeAsync
(scope, newScope, cancellationToken).ConfigureAwait(false);
180
document = await document.
ReplaceNodeAsync
(
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (1)
156
updatedDocument = await updatedDocument.
ReplaceNodeAsync
(enclosingStatement, newEnclosingStatement, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\AddAwait\AbstractAddAwaitCodeRefactoringProvider.cs (1)
128
return document.
ReplaceNodeAsync
(expression, awaitExpression, cancellationToken);