2 implementations of GetTextChangesAsync
Microsoft.CodeAnalysis.EditorFeatures (1)
TextDiffing\EditorTextDifferencingService.cs (1)
27public Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Workspaces (1)
LinkedFileDiffMerging\DefaultDocumentTextDifferencingService.cs (1)
24public Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument, CancellationToken cancellationToken)
7 references to GetTextChangesAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Intents\IntentTestsBase.cs (1)
118var changes = await textDiffService.GetTextChangesAsync(currentDocument!, priorDocument, CancellationToken.None).ConfigureAwait(false);
Microsoft.CodeAnalysis.EditorFeatures (3)
ExternalAccess\IntelliCode\IntentProcessor.cs (1)
120var textDiffs = await textDiffService.GetTextChangesAsync(currentDocument, changedDocument, cancellationToken).ConfigureAwait(false);
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (2)
574return await textDiffService.GetTextChangesAsync(oldDocument, newDocument, cancellationToken).ConfigureAwait(false); 619var textChanges = await textDiffService.GetTextChangesAsync(
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (1)
411textChanges = await textDiffService.GetTextChangesAsync(oldDoc, newDoc, cancellationToken).ConfigureAwait(false);
Handler\CodeActions\CodeActionResolveHelper.cs (1)
293textChanges = await textDiffService.GetTextChangesAsync(oldDoc, newDoc, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (1)
CodeFixes\FixAllOccurrences\TextChangeMerger.cs (1)
49var currentChanges = await _differenceService.GetTextChangesAsync(