2 instantiations of ReferenceLocationDescriptor
Microsoft.CodeAnalysis.Features (1)
CodeLens\CodeLensReferencesService.cs (1)
151return new ReferenceLocationDescriptor(
Microsoft.VisualStudio.LanguageServices (1)
CodeLens\RemoteCodeLensReferencesService.cs (1)
190list.Add(new ReferenceLocationDescriptor(
18 references to ReferenceLocationDescriptor
Microsoft.CodeAnalysis.Features (4)
CodeLens\CodeLensReferencesService.cs (2)
102private static async Task<ReferenceLocationDescriptor> GetDescriptorOfEnclosingSymbolAsync(Solution solution, Location location, CancellationToken cancellationToken) 203public async Task<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsAsync(Solution solution, DocumentId documentId, SyntaxNode syntaxNode, CancellationToken cancellationToken)
CodeLens\ICodeLensReferencesService.cs (1)
28Task<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsAsync(Solution solution, DocumentId documentId, SyntaxNode? syntaxNode, CancellationToken cancellationToken);
CodeLens\IRemoteCodeLensReferencesService.cs (1)
18ValueTask<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsAsync(Checksum solutionChecksum, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\CodeLensReferences\RemoteCodeLensReferencesService.cs (1)
66public async ValueTask<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsAsync(Checksum solutionChecksum, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices (12)
CodeLens\CodeLensCallbackListener.cs (1)
104public async Task<(string projectVersion, ImmutableArray<ReferenceLocationDescriptor> references)?> FindReferenceLocationsAsync(
CodeLens\ICodeLensContext.cs (1)
32Task<(string projectVersion, ImmutableArray<ReferenceLocationDescriptor> references)?> FindReferenceLocationsAsync(
CodeLens\RemoteCodeLensReferencesService.cs (10)
68public async Task<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsAsync(Solution solution, DocumentId documentId, SyntaxNode? syntaxNode, 139private async Task<ImmutableArray<ReferenceLocationDescriptor>> FixUpDescriptorsAsync( 140Solution solution, ImmutableArray<ReferenceLocationDescriptor> descriptors, CancellationToken cancellationToken) 142using var _ = ArrayBuilder<ReferenceLocationDescriptor>.GetInstance(out var list); 143foreach (var descriptor in descriptors) 213private static (string text, int start, int length) GetReferenceInfo(ExcerptResult? reference, ReferenceLocationDescriptor descriptor) 225private static (string before1, string before2, string after1, string after2) GetReferenceTexts(ExcerptResult? reference, ExcerptResult? tooltip, ReferenceLocationDescriptor descriptor) 254private static async Task<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsWorkerAsync(Solution solution, DocumentId documentId, SyntaxNode syntaxNode, 259return ImmutableArray<ReferenceLocationDescriptor>.Empty; 265var result = await client.TryInvokeAsync<IRemoteCodeLensReferencesService, ImmutableArray<ReferenceLocationDescriptor>?>(
Microsoft.VisualStudio.LanguageServices.CodeLens (1)
ReferenceCodeLensProvider.cs (1)
242var referenceLocationDescriptors = await _callbackService.InvokeAsync<(string projectVersion, ImmutableArray<ReferenceLocationDescriptor> references)?>(