2 implementations of GetTextChanges
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (1)
61
public IList<TextChange>
GetTextChanges
(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (1)
48
public IList<TextChange>
GetTextChanges
(CancellationToken cancellationToken)
4 references to GetTextChanges
Microsoft.CodeAnalysis.Workspaces (4)
CodeCleanup\Providers\FormatCodeCleanupProvider.cs (2)
28
? document.WithText(oldText.WithChanges(result.
GetTextChanges
(cancellationToken)))
39
? root.SyntaxTree.WithChangedText(oldText.WithChanges(result.
GetTextChanges
(cancellationToken))).GetRootAsync(cancellationToken)
Formatting\Formatter.cs (2)
309
: formattingResult.
GetTextChanges
(cancellationToken);
315
return formatter.GetFormattingResult(node, spans, options, rules, cancellationToken).
GetTextChanges
(cancellationToken);