3 instantiations of DocumentSnapshotSpan
Microsoft.CodeAnalysis.EditorFeatures (3)
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.Tagger.cs (1)
141var snapshotSpan = new DocumentSnapshotSpan(document, spanToTag);
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs (1)
285return new DocumentSnapshotSpan(document, span);
Tagging\TaggerContext.cs (1)
53: this(state: null, ImmutableArray.Create(new DocumentSnapshotSpan(document, snapshot.GetFullSpan())),
27 references to DocumentSnapshotSpan
Microsoft.CodeAnalysis.EditorFeatures (23)
BraceMatching\BraceHighlightingViewTaggerProvider.cs (1)
64TaggerContext<BraceHighlightTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
BracePairs\BracePairsTaggerProvider.cs (1)
81foreach (var spanToTag in context.SpansToTag)
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.Tagger.cs (2)
141var snapshotSpan = new DocumentSnapshotSpan(document, spanToTag); 165TaggerContext<IClassificationTag> context, DocumentSnapshotSpan snapshotSpan,
Classification\Semantic\AbstractSemanticOrEmbeddedClassificationViewTaggerProvider.cs (1)
99var spanToTag = context.SpansToTag.Single();
Classification\Semantic\ClassificationUtilities.cs (1)
49DocumentSnapshotSpan spanToTag,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.PushDiagnosticsTaggerProvider.cs (3)
110TaggerContext<TTag> context, DocumentSnapshotSpan spanToTag, int? caretPosition, CancellationToken cancellationToken) 116TaggerContext<TTag> context, DocumentSnapshotSpan spanToTag, CancellationToken cancellationToken) 151DocumentSnapshotSpan spanToTag,
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.SingleDiagnosticKindPullTaggerProvider.cs (2)
79TaggerContext<TTag> context, DocumentSnapshotSpan spanToTag, int? caretPosition, CancellationToken cancellationToken) 85TaggerContext<TTag> context, DocumentSnapshotSpan documentSpanToTag, CancellationToken cancellationToken)
DocumentSnapshotSpan.cs (1)
26/// Creates a new <see cref="DocumentSnapshotSpan"/>.
EditAndContinue\ActiveStatementTaggerProvider.cs (1)
71var spanToTag = context.SpansToTag.Single();
InlineHints\InlineHintsDataTaggerProvider.cs (1)
104TaggerContext<InlineHintDataTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
KeywordHighlighting\HighlighterViewTaggerProvider.cs (1)
73TaggerContext<KeywordHighlightTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
Structure\AbstractStructureTaggerProvider.cs (1)
181TaggerContext<IStructureTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
Tagging\AbstractAsynchronousTaggerProvider.cs (3)
210/// the <see cref="DocumentSnapshotSpan"/>s associated with these <see cref="SnapshotSpan"/>s 232foreach (var spanToTag in context.SpansToTag) 248protected virtual Task ProduceTagsAsync(TaggerContext<TTag> context, DocumentSnapshotSpan spanToTag, int? caretPosition, CancellationToken cancellationToken)
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs (2)
265private ImmutableArray<DocumentSnapshotSpan> GetSpansAndDocumentsToTag() 403ImmutableArray<DocumentSnapshotSpan> spansToTag,
Tagging\TaggerContext.cs (2)
28public ImmutableArray<DocumentSnapshotSpan> SpansToTag { get; } 60ImmutableArray<DocumentSnapshotSpan> spansToTag,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Tagging\AsynchronousTaggerTests.cs (1)
173TaggerContext<TestTag> context, DocumentSnapshotSpan snapshotSpan, int? caretPosition, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
LineSeparators\LineSeparatorTaggerProvider.cs (1)
86TaggerContext<LineSeparatorTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
StringIndentation\StringIndentationTaggerProvider.cs (1)
84TaggerContext<StringIndentationTag> context, DocumentSnapshotSpan documentSnapshotSpan, int? caretPosition, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\InheritanceMarginTaggerProvider.cs (1)
91DocumentSnapshotSpan spanToTag,