25 references to INavigableLocation
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Navigation\IFSharpCrossLanguageSymbolNavigationService.cs (1)
24
/// <inheritdoc cref="
INavigableLocation
"/>
Microsoft.CodeAnalysis.Features (24)
DocumentSpanExtensions.cs (1)
22
public static Task<
INavigableLocation
?> GetNavigableLocationAsync(this DocumentSpan documentSpan, CancellationToken cancellationToken)
ExternalAccess\UnitTesting\API\UnitTestingDocumentSpan.cs (1)
33
var
location = await this.DocumentSpan.GetNavigableLocationAsync(cancellationToken).ConfigureAwait(false);
FindUsages\DefinitionItem.cs (1)
158
public abstract Task<
INavigableLocation
?> GetNavigableLocationAsync(Workspace workspace, CancellationToken cancellationToken);
FindUsages\DefinitionItem.DefaultDefinitionItem.cs (1)
38
public override async Task<
INavigableLocation
?> GetNavigableLocationAsync(Workspace workspace, CancellationToken cancellationToken)
Navigation\DefaultSymbolNavigationService.cs (2)
15
public Task<
INavigableLocation
?> GetNavigableLocationAsync(ISymbol symbol, Project project, CancellationToken cancellationToken)
16
=> SpecializedTasks.Null<
INavigableLocation
>();
Navigation\ICrossLanguageSymbolNavigationService.cs (1)
23
Task<
INavigableLocation
?> TryGetNavigableLocationAsync(
Navigation\IDefinitionLocationService.cs (2)
25
/// returns that <see cref="
INavigableLocation
"/>. The <see cref="TextSpan"/> returned in the span of the
42
internal sealed record DefinitionLocation(
INavigableLocation
Location, DocumentSpan Span);
Navigation\IDocumentNavigationService.cs (7)
27
Task<
INavigableLocation
?> GetLocationForSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken);
28
Task<
INavigableLocation
?> GetLocationForPositionAsync(Workspace workspace, DocumentId documentId, int position, int virtualSpace, bool allowInvalidPosition, CancellationToken cancellationToken);
39
public virtual Task<
INavigableLocation
?> GetLocationForSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken)
40
=> SpecializedTasks.Null<
INavigableLocation
>();
42
public virtual Task<
INavigableLocation
?> GetLocationForPositionAsync(Workspace workspace, DocumentId documentId, int position, int virtualSpace, bool allowInvalidPosition, CancellationToken cancellationToken)
54
public static Task<
INavigableLocation
?> GetLocationForSpanAsync(this IDocumentNavigationService service, Workspace workspace, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken)
57
public static Task<
INavigableLocation
?> GetLocationForPositionAsync(this IDocumentNavigationService service, Workspace workspace, DocumentId documentId, int position, CancellationToken cancellationToken)
Navigation\INavigableLocation.cs (3)
23
internal sealed class NavigableLocation(Func<NavigationOptions, CancellationToken, Task<bool>> callback) :
INavigableLocation
36
public static Task<
INavigableLocation
?> Create(bool value)
39
return Task.FromResult<
INavigableLocation
?>(
Navigation\ISymbolNavigationService.cs (1)
22
Task<
INavigableLocation
?> GetNavigableLocationAsync(ISymbol symbol, Project project, CancellationToken cancellationToken);
SemanticSearch\SearchCompilationFailureDefinitionItem.cs (2)
39
public override Task<
INavigableLocation
?> GetNavigableLocationAsync(Workspace workspace, CancellationToken cancellationToken)
40
=> Task.FromResult<
INavigableLocation
?>(null);
SemanticSearch\SearchExceptionDefinitionItem.cs (2)
40
public override Task<
INavigableLocation
?> GetNavigableLocationAsync(Workspace workspace, CancellationToken cancellationToken)
41
=> Task.FromResult<
INavigableLocation
?>(null);