6 references to GetSpan
Microsoft.CodeAnalysis.EditorFeatures (4)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (2)
202
ActiveTextView.GetSpanInView(_subjectBuffer.CurrentSnapshot.
GetSpan
(s.ToSpan())).Count != 0) // spans were successfully projected
268
ActiveTextView.GetSpanInView(_subjectBuffer.CurrentSnapshot.
GetSpan
(s)).Count != 0); // spans were successfully projected
NavigableSymbols\NavigableSymbolService.NavigableSymbolSource.cs (1)
55
snapshot.
GetSpan
(definitionLocation.Span.SourceSpan.ToSpan()),
QuickInfo\ContentControlService.cs (1)
94
var snapshotSpan = textBuffer.CurrentSnapshot.
GetSpan
(contentSpan);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
SpellCheck\AbstractSpellCheckFixerProviderTests.cs (1)
44
var result = await service.GetTestAccessor().TryRenameAsync(buffer.CurrentSnapshot.
GetSpan
(span.Single().ToSpan()), replacement, CancellationToken.None);
Microsoft.VisualStudio.LanguageServices (1)
Snippets\SnippetExpansionClient.cs (1)
291
_ = SubjectBuffer.CurrentSnapshot.
GetSpan
(new Span(line.Start.Position, 0));