20 references to ColorPresentation
Microsoft.AspNetCore.Razor.Microbenchmarks (1)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Protocol\ColorPresentationParams.cs (2)
18internal class ColorPresentationParams : ITextDocumentParams, IWorkDoneProgressParams, IPartialResultParams<ColorPresentation[]> 49public IProgress<ColorPresentation[]>? PartialResultToken { get; set; }
Protocol\Methods.Document.cs (1)
516public static readonly LspRequest<ColorPresentationParams, ColorPresentation[]> TextDocumentColorPresentation = new(TextDocumentColorPresentationName);
Microsoft.CodeAnalysis.Razor.Workspaces (1)
GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (1)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;
Microsoft.CodeAnalysis.Remote.Razor (1)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;
Microsoft.VisualStudio.LanguageServices.Razor (5)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\DocumentColor\CohostColorPresentationEndpoint.cs (4)
23: AbstractCohostDocumentEndpoint<ColorPresentationParams, ColorPresentation[]?>(incompatibleProjectService) 34protected override async Task<ColorPresentation[]?> HandleRequestAsync(ColorPresentationParams request, TextDocument razorDocument, CancellationToken cancellationToken) 36return await _requestInvoker.MakeHtmlLspRequestAsync<ColorPresentationParams, ColorPresentation[]>( 47public Task<ColorPresentation[]?> HandleRequestAsync(ColorPresentationParams request, TextDocument razorDocument, CancellationToken cancellationToken)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;
Microsoft.VisualStudioCode.RazorExtension (5)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\DocumentColor\CohostColorPresentationEndpoint.cs (4)
23: AbstractCohostDocumentEndpoint<ColorPresentationParams, ColorPresentation[]?>(incompatibleProjectService) 34protected override async Task<ColorPresentation[]?> HandleRequestAsync(ColorPresentationParams request, TextDocument razorDocument, CancellationToken cancellationToken) 36return await _requestInvoker.MakeHtmlLspRequestAsync<ColorPresentationParams, ColorPresentation[]>( 47public Task<ColorPresentation[]?> HandleRequestAsync(ColorPresentationParams request, TextDocument razorDocument, CancellationToken cancellationToken)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;
Microsoft.VisualStudioCode.RazorExtension.UnitTests (1)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\GlobalUsings.cs (1)
12global using LspColorPresentation = Roslyn.LanguageServer.Protocol.ColorPresentation;