1 instantiation of ReferenceLocationDescriptorAndDocument
Microsoft.CodeAnalysis.Features (1)
CodeLens\CodeLensReferencesService.cs (1)
145
return new
ReferenceLocationDescriptorAndDocument
12 references to ReferenceLocationDescriptorAndDocument
Microsoft.CodeAnalysis.Features (8)
CodeLens\CodeLensReferencesService.cs (4)
103
private static async Task<
ReferenceLocationDescriptorAndDocument
> GetDescriptorOfEnclosingSymbolAsync(Solution solution, Location location, CancellationToken cancellationToken)
199
public async Task<ImmutableArray<
ReferenceLocationDescriptorAndDocument
>?> FindReferenceLocationsAsync(Solution solution, DocumentId documentId, SyntaxNode syntaxNode, CancellationToken cancellationToken)
214
public async Task<ImmutableArray<ReferenceLocationDescriptor>> MapReferenceLocationsAsync(Solution solution, ImmutableArray<
ReferenceLocationDescriptorAndDocument
> referenceLocations, ClassificationOptions classificationOptions, CancellationToken cancellationToken)
217
foreach (
var
descriptorAndDocument in referenceLocations)
CodeLens\ICodeLensReferencesService.cs (2)
29
Task<ImmutableArray<
ReferenceLocationDescriptorAndDocument
>?> FindReferenceLocationsAsync(Solution solution, DocumentId documentId, SyntaxNode? syntaxNode, CancellationToken cancellationToken);
34
Task<ImmutableArray<ReferenceLocationDescriptor>> MapReferenceLocationsAsync(Solution solution, ImmutableArray<
ReferenceLocationDescriptorAndDocument
> referenceLocations, ClassificationOptions classificationOptions, CancellationToken cancellationToken);
CodeLens\IRemoteCodeLensReferencesService.cs (1)
15
ValueTask<ImmutableArray<
ReferenceLocationDescriptorAndDocument
>?> FindReferenceLocationsAsync(Checksum solutionChecksum, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken);
CodeLens\ReferenceLocationDescriptor.cs (1)
13
/// after it was mapped via <see cref="ICodeLensReferencesService.MapReferenceLocationsAsync"/> and a descriptor which appears in a document prior to mapping, which is a <see cref="
ReferenceLocationDescriptorAndDocument
"/>.
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\CodeLensReferences\RemoteCodeLensReferencesService.cs (1)
66
public async ValueTask<ImmutableArray<
ReferenceLocationDescriptorAndDocument
>?> FindReferenceLocationsAsync(Checksum solutionChecksum, DocumentId documentId, TextSpan textSpan, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices (3)
CodeLens\VisualStudioCodeLensReferencesService.cs (3)
57
public async Task<ImmutableArray<
ReferenceLocationDescriptorAndDocument
>?> FindReferenceLocationsAsync(Solution solution, DocumentId documentId, SyntaxNode? syntaxNode,
70
var result = await client.TryInvokeAsync<IRemoteCodeLensReferencesService, ImmutableArray<
ReferenceLocationDescriptorAndDocument
>?>(
83
public Task<ImmutableArray<ReferenceLocationDescriptor>> MapReferenceLocationsAsync(Solution solution, ImmutableArray<
ReferenceLocationDescriptorAndDocument
> referenceLocations, ClassificationOptions classificationOptions, CancellationToken cancellationToken)