1 instantiation of VSInternalReferenceItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\References\FindUsagesLSPContext.cs (1)
214
var result = new
VSInternalReferenceItem
13 references to VSInternalReferenceItem
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Handler\References\FindAllReferencesHandler.cs (2)
25
internal sealed class FindAllReferencesHandler : ILspServiceDocumentRequestHandler<VSInternalReferenceParams, LSP.SumType<
VSInternalReferenceItem
, LSP.Location>[]?>
48
public async Task<LSP.SumType<
VSInternalReferenceItem
, LSP.Location>[]?> HandleRequestAsync(
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; }