5 references to TryMapToRazorDocumentRange
Microsoft.CodeAnalysis.Razor.Workspaces (2)
FoldingRanges\FoldingRangeService.cs (1)
41if (_documentMappingService.TryMapToRazorDocumentRange(csharpDocument, span, out var mappedSpan))
SemanticTokens\AbstractRazorSemanticTokensInfoService.cs (1)
161if (_documentMappingService.TryMapToRazorDocumentRange(generatedDocument, semanticRange.AsLinePositionSpan(), out var originalRange))
Microsoft.CodeAnalysis.Remote.Razor (3)
DocumentHighlight\RemoteDocumentHighlightService.cs (1)
77if (DocumentMappingService.TryMapToRazorDocumentRange(csharpDocument, highlight.Range.ToLinePositionSpan(), out var mappedRange))
Hover\RemoteHoverService.cs (1)
88DocumentMappingService.TryMapToRazorDocumentRange(codeDocument.GetRequiredCSharpDocument(), range.ToLinePositionSpan(), out var hostDocumentSpan))
InlineCompletion\RemoteInlineCompletionService.cs (1)
65if (!_documentMappingService.TryMapToRazorDocumentRange(csharpDocument, span, out var razorRange))