1 type derived from ReferenceParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\VSInternalReferenceParams.cs (1)
13internal sealed class VSInternalReferenceParams : ReferenceParams, IPartialResultParams<SumType<VSInternalReferenceItem, Location>[]>
1 instantiation of ReferenceParams
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
References\FindAllReferencesHandlerTests.cs (1)
458=> new()
12 references to ReferenceParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
49AddOrReplaceConverter<ReferenceParams, VSInternalReferenceParams>();
Protocol\Internal\VSInternalReferenceParams.cs (1)
11/// Class which represents extensions of <see cref="ReferenceParams"/> passed as parameter of find reference requests.
Protocol\Methods.Navigation.cs (1)
104public static readonly LspRequest<ReferenceParams, Location[]?> TextDocumentReferences = new(TextDocumentReferencesName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
References\FindAllReferencesHandlerTests.cs (3)
457private static LSP.ReferenceParams CreateReferenceParams(LSP.Location caret, IProgress<object> progress, bool includeDeclaration) 468var results = await testLspServer.ExecuteRequestAsync<LSP.ReferenceParams, LSP.VSInternalReferenceItem[]>(LSP.Methods.TextDocumentReferencesName, 485var results = await testLspServer.ExecuteRequestAsync<LSP.ReferenceParams, LSP.Location[]>(LSP.Methods.TextDocumentReferencesName,
Microsoft.VisualStudio.LanguageServices.Razor (3)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\FindAllReferences\CohostFindAllReferencesEndpoint.cs (3)
26: AbstractCohostDocumentEndpoint<ReferenceParams, SumType<VSInternalReferenceItem, LspLocation>[]?>(incompatibleProjectService), IDynamicRegistrationProvider 48protected override RazorTextDocumentIdentifier? GetRazorTextDocumentIdentifier(ReferenceParams request) 51protected override Task<SumType<VSInternalReferenceItem, LspLocation>[]?> HandleRequestAsync(ReferenceParams request, TextDocument razorDocument, CancellationToken cancellationToken)
Microsoft.VisualStudioCode.RazorExtension (3)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\FindAllReferences\CohostFindAllReferencesEndpoint.cs (3)
26: AbstractCohostDocumentEndpoint<ReferenceParams, SumType<VSInternalReferenceItem, LspLocation>[]?>(incompatibleProjectService), IDynamicRegistrationProvider 48protected override RazorTextDocumentIdentifier? GetRazorTextDocumentIdentifier(ReferenceParams request) 51protected override Task<SumType<VSInternalReferenceItem, LspLocation>[]?> HandleRequestAsync(ReferenceParams request, TextDocument razorDocument, CancellationToken cancellationToken)