45 references to LanguageName
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
TaskList\NoCompilationTaskListTests.cs (1)
53[ExportLanguageService(typeof(ITaskListService), language: NoCompilationConstants.LanguageName), Shared]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
BraceHighlighting\MultiCharacterBraceHighlightingTests.cs (1)
24NoCompilationConstants.LanguageName, compilationOptions: null, parseOptions: options, content: markup);
Workspaces\NoCompilationContentTypeDefinitions.cs (1)
18[Name(NoCompilationConstants.LanguageName)]
Workspaces\NoCompilationContentTypeLanguageService.cs (2)
15[ExportLanguageService(typeof(IContentTypeLanguageService), NoCompilationConstants.LanguageName, ServiceLayer.Test), Shared, PartNotDiscoverable] 26=> _contentTypeRegistry.GetContentType(NoCompilationConstants.LanguageName);
Workspaces\NoCompilationDocumentDiagnosticAnalyzer.cs (1)
16[DiagnosticAnalyzer(NoCompilationConstants.LanguageName)]
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (5)
Classification\ClassificationTests.vb (1)
333<ExportLanguageService(GetType(IClassificationService), NoCompilationConstants.LanguageName, ServiceLayer.Test), [Shared], PartNotDiscoverable>
CodeDefinitionWindow\CrossLanguageCodeDefinitionWindowTests.vb (1)
80<ExportLanguageService(GetType(INavigableItemsService), NoCompilationConstants.LanguageName), [Shared]>
CodeFixes\CodeFixServiceTests.vb (2)
301<ExportLanguageService(GetType(ICopilotOptionsService), NoCompilationConstants.LanguageName, ServiceLayer.Test), [Shared], PartNotDiscoverable> 323<ExportLanguageService(GetType(ICopilotCodeAnalysisService), NoCompilationConstants.LanguageName, ServiceLayer.Test), [Shared], PartNotDiscoverable>
Diagnostics\DiagnosticProviderTests.vb (1)
284NoCompilationConstants.LanguageName, ImmutableArray.Create(Of DiagnosticAnalyzer)(New NoCompilationDocumentDiagnosticAnalyzer()))
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\Extensions.cs (2)
97NoCompilationConstants.LanguageName => null, 105NoCompilationConstants.LanguageName => ".noproj",
Microsoft.CodeAnalysis.Features.UnitTests (7)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (4)
126var projectQ = solution.AddTestProject("Q", NoCompilationConstants.LanguageName); 234var project = solution.AddProject("dummy_proj", "dummy_proj", NoCompilationConstants.LanguageName); 1586var projectE = solution.AddTestProject("E", language: NoCompilationConstants.LanguageName); 3527var project = solution.AddProject("dummy_proj", "dummy_proj", designTimeOnly ? LanguageNames.CSharp : NoCompilationConstants.LanguageName);
EditAndContinue\EditSessionActiveStatementsTests.cs (2)
175var dummyProject = solution.AddProject("dummy_proj", "dummy_proj", NoCompilationConstants.LanguageName); 176solution = dummyProject.Solution.AddDocument(DocumentId.CreateNewId(dummyProject.Id, NoCompilationConstants.LanguageName), "a.dummy", "");
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
82.AddProject(inProcOnlyProjectId, "in-proc-only", "in-proc-only.proj", NoCompilationConstants.LanguageName)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
NoCompilationLanguageServiceFactory.cs (1)
12[ExportLanguageService(typeof(INoCompilationLanguageService), NoCompilationConstants.LanguageName, ServiceLayer.Test), Shared, PartNotDiscoverable]
Workspaces\TestWorkspace`1.cs (1)
755if (languageName == NoCompilationConstants.LanguageName)
Microsoft.CodeAnalysis.Workspaces.UnitTests (19)
Formatter\FormatterTests.cs (11)
32[ExportLanguageService(typeof(IFormattingService), language: NoCompilationConstants.LanguageName), Shared, PartNotDiscoverable] 51var project = workspace.AddProject("Dummy", NoCompilationConstants.LanguageName); 69var project = workspace.AddProject("Dummy", NoCompilationConstants.LanguageName); 73WithChangedOption(new OptionKey(FormattingOptions.UseTabs, NoCompilationConstants.LanguageName), false). 74WithChangedOption(new OptionKey(FormattingOptions.TabSize, NoCompilationConstants.LanguageName), 1). 75WithChangedOption(new OptionKey(FormattingOptions.IndentationSize, NoCompilationConstants.LanguageName), 7). 76WithChangedOption(new OptionKey(FormattingOptions.NewLine, NoCompilationConstants.LanguageName), "\n"); 86Add(new OptionKey(FormattingOptions.UseTabs, NoCompilationConstants.LanguageName), true). 87Add(new OptionKey(FormattingOptions.TabSize, NoCompilationConstants.LanguageName), 5). 88Add(new OptionKey(FormattingOptions.IndentationSize, NoCompilationConstants.LanguageName), 6). 89Add(new OptionKey(FormattingOptions.NewLine, NoCompilationConstants.LanguageName), "\r")) : null;
SolutionTests\SolutionTests.cs (8)
4880solution = solution.AddProject(projectId, "Test", "Test.dll", NoCompilationConstants.LanguageName); 4901.AddProject(projectId, "Test", "Test.dll", NoCompilationConstants.LanguageName) 4921solution = solution.AddProject(projectId, "Test", "Test.dll", NoCompilationConstants.LanguageName); 5278.AddProject("NC1", "NC1", NoCompilationConstants.LanguageName).Solution; 5284(NoCompilationConstants.LanguageName, 1) 5292(NoCompilationConstants.LanguageName, 1) 5299(NoCompilationConstants.LanguageName, 1) 5305(NoCompilationConstants.LanguageName, 1)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
ProjectSystemShim\CSharpHelpers.cs (1)
108NoCompilationConstants.LanguageName,
Roslyn.VisualStudio.Next.UnitTests (3)
Remote\SnapshotSerializationTests.cs (1)
520var project = workspace.CurrentSolution.AddProject("Project", "Project.dll", NoCompilationConstants.LanguageName);
Services\ServiceHubServicesTests.cs (2)
220var solution = workspace.CurrentSolution.AddProject("unknown", "unknown", NoCompilationConstants.LanguageName).Solution; 1548var noCompilationProject = workspace.CurrentSolution.AddProject("unknown", "unknown", NoCompilationConstants.LanguageName);