1 instantiation of VSInternalReferenceItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\References\FindUsagesLSPContext.cs (1)
215
var result = new
VSInternalReferenceItem
14 references to VSInternalReferenceItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Handler\References\FindAllReferencesHandler.cs (3)
26
internal sealed class FindAllReferencesHandler : ILspServiceDocumentRequestHandler<VSInternalReferenceParams, LSP.SumType<
VSInternalReferenceItem
, LSP.Location>[]?>
49
public async Task<SumType<
VSInternalReferenceItem
, LSP.Location>[]?> HandleRequestAsync(
70
IProgress<SumType<
VSInternalReferenceItem
, LSP.Location>[]> progress,
Handler\References\FindUsagesLSPContext.cs (9)
33
private readonly IProgress<SumType<
VSInternalReferenceItem
, LSP.Location>[]> _progress;
54
private readonly Dictionary<int, SumType<
VSInternalReferenceItem
, LSP.Location>> _definitionsWithoutReference = [];
71
private readonly AsyncBatchingWorkQueue<SumType<
VSInternalReferenceItem
, LSP.Location>> _workQueue;
77
IProgress<SumType<
VSInternalReferenceItem
, LSP.Location>[]> progress,
94
_workQueue = new AsyncBatchingWorkQueue<SumType<
VSInternalReferenceItem
, LSP.Location>>(
178
private async Task<SumType<
VSInternalReferenceItem
, LSP.Location>?> GenerateVSReferenceItemAsync(
202
private static SumType<
VSInternalReferenceItem
, LSP.Location>? CreateVsReference(
215
var
result = new VSInternalReferenceItem
365
private ValueTask ReportReferencesAsync(ImmutableSegmentedList<SumType<
VSInternalReferenceItem
, LSP.Location>> referencesToReport, CancellationToken cancellationToken)
Protocol\Internal\VSInternalReferenceParams.cs (2)
13
internal class VSInternalReferenceParams : ReferenceParams, IPartialResultParams<SumType<
VSInternalReferenceItem
, Location>[]>
30
public new IProgress<SumType<
VSInternalReferenceItem
, Location>[]>? PartialResultToken { get; set; }