10 references to _cache
Microsoft.CodeAnalysis.EditorFeatures.Wpf (10)
InlineHints\InlineHintsTagger.cs (10)
34
/// Stores the snapshot associated with the cached tags in <see cref="
_cache
" />
133
_cache
.Clear();
150
_cache
.Clear();
165
_cache
.Add((tag, tagSpan: null));
174
for (var i = 0; i <
_cache
.Count; i++)
176
var tagSpans =
_cache
[i].mappingTagSpan.Span.GetSpans(snapshot);
182
if (
_cache
[i].tagSpan is not { } hintTagSpan)
185
_cache
[i].mappingTagSpan.Tag.Hint, Format, _textView, tagSpan, _taggerProvider, _formatMap, classify);
188
_cache
[i] = (
_cache
[i].mappingTagSpan, hintTagSpan);