1 instantiation of TagSource
Microsoft.CodeAnalysis.EditorFeatures (1)
Tagging\AbstractAsynchronousTaggerProvider.cs (1)
162tagSource = new TagSource(textView, subjectBuffer, this);
13 references to TagSource
Microsoft.CodeAnalysis.EditorFeatures (13)
Tagging\AbstractAsynchronousTaggerProvider.cs (6)
152var tagSource = GetOrCreateTagSource(textView, subjectBuffer); 158private TagSource GetOrCreateTagSource(ITextView? textView, ITextBuffer subjectBuffer) 160if (!this.TryRetrieveTagSource(textView, subjectBuffer, out var tagSource)) 169private bool TryRetrieveTagSource(ITextView? textView, ITextBuffer subjectBuffer, [NotNullWhen(true)] out TagSource? tagSource) 180textView.RemovePerSubjectBufferProperty<TagSource, ITextView>(subjectBuffer, _uniqueKey); 188private void StoreTagSource(ITextView? textView, ITextBuffer subjectBuffer, TagSource tagSource)
Tagging\AbstractAsynchronousTaggerProvider.Tagger.cs (4)
15/// <see cref="Tagger"/> is a thin wrapper we create around the single shared <see cref="TagSource"/>. 17/// <see cref="TagSource"/> will finally be disposed as well. 21private readonly TagSource _tagSource; 23public Tagger(TagSource tagSource)
Tagging\AbstractAsynchronousTaggerProvider.TagSource.cs (3)
26/// <para>The <see cref="TagSource"/> is the core part of our asynchronous 30/// <para>The <see cref="TagSource"/> is the type that actually owns the list of cached tags. When an <see 37/// <para>There is a one-to-many relationship between <see cref="TagSource"/>s