1 instantiation of VSInternalReferenceItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\References\FindUsagesLSPContext.cs (1)
214
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)
32
private readonly IProgress<SumType<
VSInternalReferenceItem
, LSP.Location>[]> _progress;
53
private readonly Dictionary<int, SumType<
VSInternalReferenceItem
, LSP.Location>> _definitionsWithoutReference = [];
70
private readonly AsyncBatchingWorkQueue<SumType<
VSInternalReferenceItem
, LSP.Location>> _workQueue;
76
IProgress<SumType<
VSInternalReferenceItem
, LSP.Location>[]> progress,
93
_workQueue = new AsyncBatchingWorkQueue<SumType<
VSInternalReferenceItem
, LSP.Location>>(
177
private async Task<SumType<
VSInternalReferenceItem
, LSP.Location>?> GenerateVSReferenceItemAsync(
201
private static SumType<
VSInternalReferenceItem
, LSP.Location>? CreateVsReference(
214
var
result = new VSInternalReferenceItem
364
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; }