6 implementations of GetLocationForSpanAsync
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (2)
Utilities\GoToHelpers\MockDocumentNavigationService.vb (1)
64Public Function GetLocationForSpanAsync(workspace As Workspace, documentId As DocumentId, textSpan As TextSpan, allowInvalidSpan As Boolean, cancellationToken As CancellationToken) As Task(Of INavigableLocation) Implements IDocumentNavigationService.GetLocationForSpanAsync
Utilities\MockDocumentNavigationServiceProvider.vb (1)
87Public Function GetLocationForSpanAsync(workspace As Workspace, documentId As DocumentId, textSpan As TextSpan, allowInvalidSpans As Boolean, cancellationToken As CancellationToken) As Task(Of INavigableLocation) Implements IDocumentNavigationService.GetLocationForSpanAsync
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Interactive\InteractiveDocumentNavigationService.cs (1)
37public async Task<INavigableLocation?> GetLocationForSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (1)
Navigation\DefaultDocumentNavigationService.cs (1)
23public Task<INavigableLocation?> GetLocationForSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices (1)
Workspace\VisualStudioDocumentNavigationService.cs (1)
129public async Task<INavigableLocation?> GetLocationForSpanAsync(
Microsoft.VisualStudio.LanguageServices.LiveShare.UnitTests (1)
MockDocumentNavigationServiceFactory.cs (1)
48public Task<INavigableLocation?> GetLocationForSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken)
7 references to GetLocationForSpanAsync
Microsoft.CodeAnalysis.EditorFeatures (1)
Navigation\IDocumentNavigationServiceExtensions.cs (1)
32var location = await service.GetLocationForSpanAsync(workspace, documentId, textSpan, allowInvalidSpan, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (2)
Utilities\GoToHelpers\MockDocumentNavigationService.vb (1)
64Public Function GetLocationForSpanAsync(workspace As Workspace, documentId As DocumentId, textSpan As TextSpan, allowInvalidSpan As Boolean, cancellationToken As CancellationToken) As Task(Of INavigableLocation) Implements IDocumentNavigationService.GetLocationForSpanAsync
Utilities\MockDocumentNavigationServiceProvider.vb (1)
87Public Function GetLocationForSpanAsync(workspace As Workspace, documentId As DocumentId, textSpan As TextSpan, allowInvalidSpans As Boolean, cancellationToken As CancellationToken) As Task(Of INavigableLocation) Implements IDocumentNavigationService.GetLocationForSpanAsync
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Navigation\IFSharpDocumentNavigationService.cs (1)
40/// <inheritdoc cref="IDocumentNavigationService.GetLocationForSpanAsync"/>
Microsoft.CodeAnalysis.Features (2)
DocumentSpanExtensions.cs (1)
25return service.GetLocationForSpanAsync(workspace, documentSpan.Document.Id, documentSpan.SourceSpan, allowInvalidSpan: false, cancellationToken);
Navigation\IDocumentNavigationService.cs (1)
45=> service.GetLocationForSpanAsync(workspace, documentId, textSpan, allowInvalidSpan: false, cancellationToken);
Microsoft.VisualStudio.LanguageServices (1)
Workspace\VisualStudioSymbolNavigationService.cs (1)
79return await navigationService.GetLocationForSpanAsync(