1 write to MappedSpan
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\DocumentService\IDocumentExcerptService.cs (1)
74
MappedSpan
= mappedSpan;
9 references to MappedSpan
Microsoft.VisualStudio.LanguageServices (6)
CodeLens\RemoteCodeLensReferencesService.cs (3)
218
reference.Value.
MappedSpan
.Start,
219
reference.Value.
MappedSpan
.Length);
233
var mappedLine = lines.GetLineFromPosition(tooltip.Value.
MappedSpan
.Start);
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (1)
400
return (result.Value, AbstractDocumentSpanEntry.GetLineContainingPosition(result.Value.Content, result.Value.
MappedSpan
.Start));
FindReferences\Entries\DocumentSpanEntry.cs (2)
176
if (position == _excerptResult.
MappedSpan
.Start)
237
SetHighlightSpan(_spanKind, clonedBuffer, excerpt.Value.
MappedSpan
);
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
Venus\DocumentServiceTests.vb (3)
159
Assert.Equal(GetNamedSpan(projectedDocument), result.Value.
MappedSpan
)
198
Assert.Equal(GetNamedSpan(projectedDocument), result.Value.
MappedSpan
)
255
Assert.Equal(New TextSpan(documentSpan.Start - contentSpan.Start, documentSpan.Length), result.Value.
MappedSpan
)