7 references to MappedSpanResult
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
LanguageServer\AbstractLanguageServerProtocolTests.cs (1)
87
mappedResult = spans.Select(span => new
MappedSpanResult
(s_mappedFilePath, s_mappedLinePosition, new TextSpan(0, 5))).ToImmutableArray();
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorSpanMappingServiceWrapper.cs (1)
64
roslynSpans[i] = new
MappedSpanResult
(razorSpan.FilePath, razorSpan.LinePositionSpan, razorSpan.Span);
Microsoft.VisualStudio.LanguageServices (3)
FindReferences\Entries\AbstractDocumentSpanEntry.cs (2)
63
return new
MappedSpanResult
(documentSpan.Document.FilePath, sourceText.Lines.GetLinePositionSpan(documentSpan.SourceSpan), documentSpan.SourceSpan);
71
return new
MappedSpanResult
(documentSpan.Document.FilePath, sourceText.Lines.GetLinePositionSpan(documentSpan.SourceSpan), documentSpan.SourceSpan);
Venus\ContainedDocument.DocumentServiceProvider.cs (1)
118
result = new
MappedSpanResult
(document.FilePath, primarySnapshotSpan.ToLinePositionSpan(), primarySpan.ToTextSpan());
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Venus\DocumentService_IntegrationTests.vb (2)
283
results.Add(New
MappedSpanResult
(mappedDocument.FilePath, lineSpan, mappedSpan))
287
results.Add(New
MappedSpanResult
(mappedDocument.FilePath, lineSpan, mappedSpan))