2 implementations of GetTextChangesAsync
Microsoft.CodeAnalysis.EditorFeatures (1)
TextDiffing\EditorTextDifferencingService.cs (1)
32public Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Workspaces (1)
LinkedFileDiffMerging\DefaultDocumentTextDifferencingService.cs (1)
25public Task<ImmutableArray<TextChange>> GetTextChangesAsync(Document oldDocument, Document newDocument, CancellationToken cancellationToken)
10 references to GetTextChangesAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Intents\IntentTestsBase.cs (1)
122var changes = await textDiffService.GetTextChangesAsync(currentDocument, priorDocument, CancellationToken.None).ConfigureAwait(false);
Microsoft.CodeAnalysis.EditorFeatures (3)
ExternalAccess\IntelliCode\IntentProcessor.cs (1)
135var textDiffs = await textDiffService.GetTextChangesAsync(currentDocument, changedDocument, cancellationToken).ConfigureAwait(false);
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (2)
574return await textDiffService.GetTextChangesAsync(oldDocument, newDocument, cancellationToken).ConfigureAwait(false); 618foreach (var change in textDiffService.GetTextChangesAsync(preMergeDocument, postMergeDocument, cancellationToken).WaitAndGetResult(cancellationToken))
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorSpanMappingServiceWrapper.cs (1)
40var textChanges = await diffService.GetTextChangesAsync(oldDocument, newDocument, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (1)
275textChanges = await textDiffService.GetTextChangesAsync(oldDoc, newDoc, cancellationToken).ConfigureAwait(false);
Handler\CodeActions\CodeActionResolveHandler.cs (1)
193textChanges = await textDiffService.GetTextChangesAsync(oldDoc, newDoc, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (3)
CodeFixes\FixAllOccurrences\TextChangeMerger.cs (1)
48var currentChanges = await _differenceService.GetTextChangesAsync(
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (2)
89var appliedChanges = await textDifferencingService.GetTextChangesAsync(_oldSolution.GetDocument(linkedDocumentGroup.First()), _newSolution.GetDocument(linkedDocumentGroup.First()), cancellationToken).ConfigureAwait(false); 145var textchanges = await textDiffService.GetTextChangesAsync(oldDocument, newDocument, cancellationToken).ConfigureAwait(false);