8 references to TestHostProject
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (7)
Options\SolutionAnalyzerConfigOptionsUpdaterTests.cs (6)
51
var project = new
TestHostProject
(workspace, "proj1", LanguageNames.CSharp);
73
workspace.AddTestProject(new
TestHostProject
(workspace, "proj2", LanguageNames.VisualBasic));
82
workspace.AddTestProject(new
TestHostProject
(workspace, "proj3", LanguageNames.CSharp));
118
var testProjectWithoutConfig = new
TestHostProject
(workspace, "proj_without_config", LanguageNames.CSharp);
125
var testProjectWithConfig = new
TestHostProject
(workspace, "proj_with_config", LanguageNames.CSharp);
279
var project = new
TestHostProject
(workspace, "proj1", LanguageNames.CSharp);
References\FindAllReferencesHandlerFeaturesTests.cs (1)
74
testLspServer.TestWorkspace.AddTestProject(new
TestHostProject
(testLspServer.TestWorkspace, documents: [testDocument]));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestHostProject.cs (1)
53
:
this
(workspace, name, language, compilationOptions, parseOptions, [document], [], [], projectReferences, metadataReferences, analyzerReferences, assemblyName, defaultNamespace)