7 instantiations of VSInternalCodeActionContext
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (4)
Cohost\HtmlRequestInvokerTest.cs (1)
96Context = new VSInternalCodeActionContext()
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\CohostCodeActionsEndpointTestBase.cs (1)
181Context = new VSInternalCodeActionContext() { Diagnostics = diagnostics.ToArray() }
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\Html\HtmlCodeActionProviderTest.cs (2)
42Context = new VSInternalCodeActionContext() 73Context = new VSInternalCodeActionContext()
Microsoft.VisualStudioCode.RazorExtension.UnitTests (3)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\CohostCodeActionsEndpointTestBase.cs (1)
181Context = new VSInternalCodeActionContext() { Diagnostics = diagnostics.ToArray() }
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\Html\HtmlCodeActionProviderTest.cs (2)
42Context = new VSInternalCodeActionContext() 73Context = new VSInternalCodeActionContext()
4 references to VSInternalCodeActionContext
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
35AddOrReplaceConverter<CodeActionContext, VSInternalCodeActionContext>();
Microsoft.CodeAnalysis.Razor.Workspaces (3)
CodeActions\CodeActionsService.cs (2)
141var newContext = request.Context; 142if (request.Context is VSInternalCodeActionContext { SelectionRange: not null } vsContext &&
Protocol\CodeActions\VSCodeActionParams.cs (1)
28public required VSInternalCodeActionContext Context { get; set; }