5 references to GetNamedSpan
Microsoft.VisualStudio.LanguageServices.UnitTests (5)
Venus\DocumentServiceTests.vb (5)
159
Assert.Equal(
GetNamedSpan
(projectedDocument), result.Value.MappedSpan)
198
Assert.Equal(
GetNamedSpan
(projectedDocument), result.Value.MappedSpan)
232
Dim contentSpan =
GetNamedSpan
(projectedDocument, "Content")
236
Dim firstText = projectedDocument.GetTextBuffer().CurrentSnapshot.GetText(
GetNamedSpan
(projectedDocument, "WithoutLeadingWhitespace").ToSpan())
237
Dim documentSpan =
GetNamedSpan
(projectedDocument, "Document").ToSpan()