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