2 instantiations of ReferenceLocationDescriptor
Microsoft.CodeAnalysis.Features (1)
CodeLens\CodeLensReferencesService.cs (1)
150return new ReferenceLocationDescriptor(
Microsoft.VisualStudio.LanguageServices (1)
CodeLens\RemoteCodeLensReferencesService.cs (1)
188list.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)
66public async Task<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsAsync(Solution solution, DocumentId documentId, SyntaxNode? syntaxNode, 137private async Task<ImmutableArray<ReferenceLocationDescriptor>> FixUpDescriptorsAsync( 138Solution solution, ImmutableArray<ReferenceLocationDescriptor> descriptors, CancellationToken cancellationToken) 140using var _ = ArrayBuilder<ReferenceLocationDescriptor>.GetInstance(out var list); 141foreach (var descriptor in descriptors) 211private static (string text, int start, int length) GetReferenceInfo(ExcerptResult? reference, ReferenceLocationDescriptor descriptor) 223private static (string before1, string before2, string after1, string after2) GetReferenceTexts(ExcerptResult? reference, ExcerptResult? tooltip, ReferenceLocationDescriptor descriptor) 252private static async Task<ImmutableArray<ReferenceLocationDescriptor>?> FindReferenceLocationsWorkerAsync(Solution solution, DocumentId documentId, SyntaxNode syntaxNode, 257return ImmutableArray<ReferenceLocationDescriptor>.Empty; 263var 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)?>(