1 write to SnapshotSpan
Microsoft.CodeAnalysis.EditorFeatures (1)
DocumentSnapshotSpan.cs (1)
31this.SnapshotSpan = snapshotSpan;
28 references to SnapshotSpan
Microsoft.CodeAnalysis.EditorFeatures (23)
BraceMatching\BraceHighlightingViewTaggerProvider.cs (1)
75context, document, documentSnapshotSpan.SnapshotSpan.Snapshot, caretPosition.Value, options, cancellationToken);
BracePairs\BracePairsTaggerProvider.cs (2)
93document, spanToTag.SnapshotSpan.Span.ToTextSpan(), bracePairs, cancellationToken).ConfigureAwait(false); 95var snapshot = spanToTag.SnapshotSpan.Snapshot;
Classification\Semantic\ClassificationUtilities.cs (2)
74context, document, spanToTag.SnapshotSpan, classificationService, typeMap, options, type, cancellationToken).ConfigureAwait(false); 83context, document, spanToTag.SnapshotSpan, classificationService, typeMap, options, type, cancellationToken).ConfigureAwait(false);
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.PushDiagnosticsTaggerProvider.cs (2)
129var snapshot = spanToTag.SnapshotSpan.Snapshot; 170var requestedSpan = spanToTag.SnapshotSpan;
Diagnostics\AbstractPushOrPullDiagnosticsTaggerProvider.SingleDiagnosticKindPullTaggerProvider.cs (2)
98var snapshot = documentSpanToTag.SnapshotSpan.Snapshot; 114var requestedSpan = documentSpanToTag.SnapshotSpan;
EditAndContinue\ActiveStatementTaggerProvider.cs (3)
85var snapshot = spanToTag.SnapshotSpan.Snapshot; 96if (snapshotSpan.OverlapsWith(spanToTag.SnapshotSpan)) 103context.SetSpansTagged(ImmutableArray.Create(spanToTag.SnapshotSpan));
InlineHints\InlineHintsDataTaggerProvider.cs (1)
116var snapshotSpan = documentSnapshotSpan.SnapshotSpan;
KeywordHighlighting\HighlighterViewTaggerProvider.cs (1)
98var snapshotSpan = documentSnapshotSpan.SnapshotSpan;
ReferenceHighlighting\ReferenceHighlightingViewTaggerProvider.cs (2)
114var document = context.SpansToTag.FirstOrDefault(vt => vt.SnapshotSpan.Snapshot == caretPosition.Snapshot).Document; 182var textSnapshot = context.SpansToTag.FirstOrDefault(s => s.Document == document).SnapshotSpan.Snapshot;
Structure\AbstractStructureTaggerProvider.cs (2)
190if (documentSnapshotSpan.SnapshotSpan.Snapshot.TextBuffer.IsInLspEditorContext()) 202context, documentSnapshotSpan.SnapshotSpan, outliningService,
Tagging\AbstractAsynchronousTaggerProvider.cs (1)
237GetCaretPosition(context.CaretPosition, spanToTag.SnapshotSpan),
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs (3)
309var buffersToTag = spansToTag.Select(dss => dss.SnapshotSpan.Snapshot.TextBuffer).ToSet(); 414var snapshot = spansToTag.First(s => s.SnapshotSpan.Snapshot.TextBuffer == latestBuffer).SnapshotSpan.Snapshot;
Tagging\TaggerContext.cs (1)
70_spansTagged = spansToTag.SelectAsArray(ds => ds.SnapshotSpan);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Tagging\AsynchronousTaggerTests.cs (1)
175var tags = _callback(snapshotSpan.SnapshotSpan, cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
LineSeparators\LineSeparatorTaggerProvider.cs (1)
97var snapshotSpan = documentSnapshotSpan.SnapshotSpan;
StringIndentation\StringIndentationTaggerProvider.cs (1)
97var snapshotSpan = documentSnapshotSpan.SnapshotSpan;
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\InheritanceMarginTaggerProvider.cs (2)
116var spanToSearch = spanToTag.SnapshotSpan.Span.ToTextSpan(); 137var snapshot = spanToTag.SnapshotSpan.Snapshot;