6 implementations of CanNavigateToSpanAsync
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (2)
Utilities\GoToHelpers\MockDocumentNavigationService.vb (1)
38Public Function CanNavigateToSpanAsync(workspace As Workspace, documentId As DocumentId, textSpan As TextSpan, allowInvalidSpan As Boolean, cancellationToken As CancellationToken) As Task(Of Boolean) Implements IDocumentNavigationService.CanNavigateToSpanAsync
Utilities\MockDocumentNavigationServiceProvider.vb (1)
64Public Function CanNavigateToSpanAsync(workspace As Workspace, documentId As DocumentId, textSpan As TextSpan, allowInvalidSpan As Boolean, cancellationToken As CancellationToken) As Task(Of Boolean) Implements IDocumentNavigationService.CanNavigateToSpanAsync
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Interactive\InteractiveDocumentNavigationService.cs (1)
28public Task<bool> CanNavigateToSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (1)
Navigation\DefaultDocumentNavigationService.cs (1)
14public Task<bool> CanNavigateToSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices (1)
Workspace\VisualStudioDocumentNavigationService.cs (1)
62public async Task<bool> CanNavigateToSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices.LiveShare.UnitTests (1)
MockDocumentNavigationServiceFactory.cs (1)
40public Task<bool> CanNavigateToSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken) => SpecializedTasks.True;
4 references to CanNavigateToSpanAsync
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (2)
Utilities\GoToHelpers\MockDocumentNavigationService.vb (1)
38Public Function CanNavigateToSpanAsync(workspace As Workspace, documentId As DocumentId, textSpan As TextSpan, allowInvalidSpan As Boolean, cancellationToken As CancellationToken) As Task(Of Boolean) Implements IDocumentNavigationService.CanNavigateToSpanAsync
Utilities\MockDocumentNavigationServiceProvider.vb (1)
64Public Function CanNavigateToSpanAsync(workspace As Workspace, documentId As DocumentId, textSpan As TextSpan, allowInvalidSpan As Boolean, cancellationToken As CancellationToken) As Task(Of Boolean) Implements IDocumentNavigationService.CanNavigateToSpanAsync
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Navigation\IFSharpDocumentNavigationService.cs (1)
33/// <inheritdoc cref="IDocumentNavigationService.CanNavigateToSpanAsync"/>
Microsoft.CodeAnalysis.Features (1)
Navigation\IDocumentNavigationService.cs (1)
39=> service.CanNavigateToSpanAsync(workspace, documentId, textSpan, allowInvalidSpan: false, cancellationToken);