3 instantiations of ReferenceLocationDescriptor
Microsoft.CodeAnalysis.Features (1)
CodeLens\CodeLensReferencesService.cs (1)
150return new ReferenceLocationDescriptor(
Microsoft.VisualStudio.LanguageServices (2)
CodeLens\RemoteCodeLensReferencesService.cs (2)
184list.Add(new ReferenceLocationDescriptor( 213list.Add(new ReferenceLocationDescriptor(
18 references to ReferenceLocationDescriptor
Microsoft.CodeAnalysis.EditorFeatures (1)
CodeLens\ICodeLensContext.cs (1)
31Task<(string projectVersion, ImmutableArray<ReferenceLocationDescriptor> references)?> FindReferenceLocationsAsync(
Microsoft.CodeAnalysis.Features (4)
CodeLens\CodeLensReferencesService.cs (2)
101private static async Task<ReferenceLocationDescriptor> GetDescriptorOfEnclosingSymbolAsync(Solution solution, Location location, CancellationToken cancellationToken) 202public 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)
15ValueTask<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 (11)
CodeLens\CodeLensCallbackListener.cs (1)
114public async Task<(string projectVersion, ImmutableArray<ReferenceLocationDescriptor> references)?> FindReferenceLocationsAsync(
CodeLens\RemoteCodeLensReferencesService.cs (10)
67public async Task<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsAsync(Solution solution, DocumentId documentId, SyntaxNode? syntaxNode, 138private async Task<ImmutableArray<ReferenceLocationDescriptor>> FixUpDescriptorsAsync( 139Solution solution, ImmutableArray<ReferenceLocationDescriptor> descriptors, CancellationToken cancellationToken) 141using var _ = ArrayBuilder<ReferenceLocationDescriptor>.GetInstance(out var list); 142foreach (var descriptor in descriptors) 236private static (string text, int start, int length) GetReferenceInfo(ExcerptResult? reference, ReferenceLocationDescriptor descriptor) 248private static (string before1, string before2, string after1, string after2) GetReferenceTexts(ExcerptResult? reference, ExcerptResult? tooltip, ReferenceLocationDescriptor descriptor) 277private static async Task<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsWorkerAsync(Solution solution, DocumentId documentId, SyntaxNode syntaxNode, 282return ImmutableArray<ReferenceLocationDescriptor>.Empty; 288var result = await client.TryInvokeAsync<IRemoteCodeLensReferencesService, ImmutableArray<ReferenceLocationDescriptor>?>(
Microsoft.VisualStudio.LanguageServices.CodeLens (1)
ReferenceCodeLensProvider.cs (1)
246var referenceLocationDescriptors = await _callbackService.InvokeAsync<(string projectVersion, ImmutableArray<ReferenceLocationDescriptor> references)?>(