1 instantiation of VSInternalReferenceItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\References\FindUsagesLSPContext.cs (1)
214var result = new VSInternalReferenceItem
13 references to VSInternalReferenceItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Handler\References\FindAllReferencesHandler.cs (2)
25internal sealed class FindAllReferencesHandler : ILspServiceDocumentRequestHandler<VSInternalReferenceParams, LSP.SumType<VSInternalReferenceItem, LSP.Location>[]?> 48public async Task<LSP.SumType<VSInternalReferenceItem, LSP.Location>[]?> HandleRequestAsync(
Handler\References\FindUsagesLSPContext.cs (9)
32private readonly IProgress<SumType<VSInternalReferenceItem, LSP.Location>[]> _progress; 53private readonly Dictionary<int, SumType<VSInternalReferenceItem, LSP.Location>> _definitionsWithoutReference = []; 70private readonly AsyncBatchingWorkQueue<SumType<VSInternalReferenceItem, LSP.Location>> _workQueue; 76IProgress<SumType<VSInternalReferenceItem, LSP.Location>[]> progress, 93_workQueue = new AsyncBatchingWorkQueue<SumType<VSInternalReferenceItem, LSP.Location>>( 177private async Task<SumType<VSInternalReferenceItem, LSP.Location>?> GenerateVSReferenceItemAsync( 201private static SumType<VSInternalReferenceItem, LSP.Location>? CreateVsReference( 214var result = new VSInternalReferenceItem 364private ValueTask ReportReferencesAsync(ImmutableSegmentedList<SumType<VSInternalReferenceItem, LSP.Location>> referencesToReport, CancellationToken cancellationToken)
Protocol\Internal\VSInternalReferenceParams.cs (2)
13internal class VSInternalReferenceParams : ReferenceParams, IPartialResultParams<SumType<VSInternalReferenceItem, Location>[]> 30public new IProgress<SumType<VSInternalReferenceItem, Location>[]>? PartialResultToken { get; set; }