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