8 references to Constants
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorMiscellaneousProjectInfoService.cs (1)
16[ExportLanguageService(typeof(IMiscellaneousProjectInfoService), Constants.RazorLanguageName)]
Microsoft.CodeAnalysis.Razor.Workspaces (6)
CodeActions\Models\CodeActionExtensions.cs (4)
17private const string NestedCodeActionCommand = Constants.RunNestedCodeActionCommandName; 18private const string NestedCodeActionsProperty = Constants.NestedCodeActionsPropertyName; 19private const string CodeActionPathProperty = Constants.CodeActionPathPropertyName; 20private const string FixAllFlavorsProperty = Constants.FixAllFlavorsPropertyName;
Completion\Delegation\DelegatedCompletionHelper.cs (2)
311if (resolvedCompletionItem.Command is { CommandIdentifier: Constants.CompleteComplexEditCommand, Arguments: var args }) 347logger.LogError($"Unexpected arguments for command '{Constants.CompleteComplexEditCommand}': Expected: [TextDocumentIdentifier, TextEdit, _, int], Actual: {GetArgumentTypesLogString(resolvedCompletionItem)}");
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
RazorConstantsTest.cs (1)
16Assert.Equal(RazorConstants.RazorLSPContentTypeName, Constants.RazorLanguageName);