2 instantiations of ReferenceLocationDescriptor
Microsoft.CodeAnalysis.Features (1)
Microsoft.VisualStudio.LanguageServices (1)
18 references to ReferenceLocationDescriptor
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.VisualStudio.LanguageServices (12)
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)