4 instantiations of DiffResult
Microsoft.CodeAnalysis.EditorFeatures (4)
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs (4)
64RaiseTagsChanged(snapshot.TextBuffer, new DiffResult(added: null, removed: new(oldTagTree.GetSpans(snapshot).Select(s => s.Span)))); 424bufferToChanges[latestBuffer] = new DiffResult(added: new(latestSpans.GetSpans(snapshot).Select(t => t.Span)), removed: null); 433bufferToChanges[oldBuffer] = new DiffResult(added: null, removed: new(previousSpans.GetSpans(oldBuffer.CurrentSnapshot).Select(t => t.Span))); 512return new DiffResult(new(added), new(removed));
8 references to DiffResult
Microsoft.CodeAnalysis.EditorFeatures (8)
Tagging\AbstractAsynchronousTaggerProvider.TagSource.cs (2)
378private void RaiseTagsChanged(ITextBuffer buffer, DiffResult difference) 388new KeyValuePair<ITextBuffer, DiffResult>(buffer, difference)),
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs (5)
155var difference = ComputeDifference(snapshot, newTagTree, treeForBuffer); 402private Dictionary<ITextBuffer, DiffResult> ProcessNewTagTrees( 410var bufferToChanges = new Dictionary<ITextBuffer, DiffResult>(); 418var difference = ComputeDifference(snapshot, latestSpans, previousSpans); 444private DiffResult ComputeDifference(
Tagging\AbstractAsynchronousTaggerProvider.TagSource_TagsChanged.cs (1)
26ICollection<KeyValuePair<ITextBuffer, DiffResult>> changes, bool highPriority)