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