38 instantiations of EditorTestHostProject
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (37)
Completion\CompletionServiceTests.cs (1)
131var project = new EditorTestHostProject(workspace, testDocument, name: "project1");
Workspaces\WorkspaceTests_EditorFeatures.cs (36)
57var project = new EditorTestHostProject(workspace); 89var project = new EditorTestHostProject(workspace); 103var project = new EditorTestHostProject(workspace); 118var project = new EditorTestHostProject(workspace); 134var project = new EditorTestHostProject(workspace); 145var project1 = new EditorTestHostProject(workspace, name: "project1"); 146var project2 = new EditorTestHostProject(workspace, name: "project2"); 168var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 195var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 215var project1 = new EditorTestHostProject(workspace, document1, name: "Submission"); 218var project2 = new EditorTestHostProject(workspace, document2, name: "Script"); 262var project1 = new EditorTestHostProject(workspace, name: "project1"); 263var project2 = new EditorTestHostProject(workspace, name: "project2"); 276var project1 = new EditorTestHostProject(workspace, name: "project1"); 277var project2 = new EditorTestHostProject(workspace, name: "project2"); 298var project1 = new EditorTestHostProject(workspace, name: "project1"); 299var project2 = new EditorTestHostProject(workspace, name: "project2"); 315var project1 = new EditorTestHostProject(workspace, name: "project1"); 316var project2 = new EditorTestHostProject(workspace, name: "project2"); 337var project1 = new EditorTestHostProject(workspace, name: "project1"); 338var project2 = new EditorTestHostProject(workspace, name: "project2"); 355var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 372var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 387var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 406var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 425var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 449var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 482var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 536var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 604var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 696var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 722var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 755var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 776var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 796var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 1495var project1 = new EditorTestHostProject(primaryWorkspace, document, name: "project1");
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\EditorTestWorkspace.cs (1)
91=> new(
65 references to EditorTestHostProject
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (57)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
146var dependentProject = workspace.Projects.Single(proj => proj.Id != project.Id);
Completion\CompletionServiceTests.cs (1)
131var project = new EditorTestHostProject(workspace, testDocument, name: "project1");
Workspaces\WorkspaceTests_EditorFeatures.cs (55)
57var project = new EditorTestHostProject(workspace); 89var project = new EditorTestHostProject(workspace); 103var project = new EditorTestHostProject(workspace); 118var project = new EditorTestHostProject(workspace); 134var project = new EditorTestHostProject(workspace); 145var project1 = new EditorTestHostProject(workspace, name: "project1"); 146var project2 = new EditorTestHostProject(workspace, name: "project2"); 168var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 195var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 215var project1 = new EditorTestHostProject(workspace, document1, name: "Submission"); 218var project2 = new EditorTestHostProject(workspace, document2, name: "Script"); 262var project1 = new EditorTestHostProject(workspace, name: "project1"); 263var project2 = new EditorTestHostProject(workspace, name: "project2"); 276var project1 = new EditorTestHostProject(workspace, name: "project1"); 277var project2 = new EditorTestHostProject(workspace, name: "project2"); 298var project1 = new EditorTestHostProject(workspace, name: "project1"); 299var project2 = new EditorTestHostProject(workspace, name: "project2"); 315var project1 = new EditorTestHostProject(workspace, name: "project1"); 316var project2 = new EditorTestHostProject(workspace, name: "project2"); 337var project1 = new EditorTestHostProject(workspace, name: "project1"); 338var project2 = new EditorTestHostProject(workspace, name: "project2"); 355var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 372var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 387var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 406var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 425var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 428var project2 = new EditorTestHostProject(workspace, document2, name: "project2", projectReferences: [project1]); 449var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 456var project2 = new EditorTestHostProject(workspace, document2, language: LanguageNames.VisualBasic, name: "project2", projectReferences: [project1]); 482var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 489var project2 = new EditorTestHostProject(workspace, document2, language: LanguageNames.VisualBasic, name: "project2", projectReferences: [project1]); 536var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 543var project2 = new EditorTestHostProject(workspace, document2, language: LanguageNames.VisualBasic, name: "project2", projectReferences: [project1]); 604var project1 = new EditorTestHostProject(workspace, document1, name: "project1"); 611var project2 = new EditorTestHostProject(workspace, document2, language: LanguageNames.VisualBasic, name: "project2", projectReferences: [project1]); 696var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 722var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 755var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 776var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 796var project1 = new EditorTestHostProject(workspace, document, name: "project1"); 926var project1 = new EditorTestHostProject(workspace, additionalDocuments: [document], name: "project1"); 987var project1 = new EditorTestHostProject(workspace, analyzerConfigDocuments: [document], name: "project1"); 1049var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], additionalDocuments: [additionalDoc]); 1073var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], analyzerConfigDocuments: [analyzerConfigDoc]); 1103var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], additionalDocuments: [additionalDoc]); 1136var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], analyzerConfigDocuments: [analyzerConfigDoc]); 1169var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], additionalDocuments: [additionalDoc]); 1198var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], analyzerConfigDocuments: [analyzerConfigDoc]); 1229var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], additionalDocuments: [additionalDoc]); 1265var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], analyzerConfigDocuments: [analyzerConfigDoc]); 1303var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], additionalDocuments: [additionalDoc]); 1331var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], analyzerConfigDocuments: [analyzerConfigDoc]); 1361var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], additionalDocuments: [additionalDoc]); 1381var project1 = new EditorTestHostProject(workspace, name: "project1", documents: [document], analyzerConfigDocuments: [analyzerConfigDoc]); 1495var project1 = new EditorTestHostProject(primaryWorkspace, document, name: "project1");
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (7)
LanguageServer\AbstractLanguageServerProtocolTests.cs (1)
344foreach (var project in workspace.Projects)
Workspaces\EditorTestHostProject.cs (2)
56IEnumerable<EditorTestHostProject>? projectReferences = null, 84IEnumerable<EditorTestHostProject>? projectReferences = null,
Workspaces\EditorTestHostSolution.cs (1)
7public class EditorTestHostSolution(params EditorTestHostProject[] projects)
Workspaces\EditorTestWorkspace.cs (3)
27public partial class EditorTestWorkspace : TestWorkspace<EditorTestHostDocument, EditorTestHostProject, EditorTestHostSolution> 76private protected override EditorTestHostProject CreateProject( 107private protected override EditorTestHostSolution CreateSolution(EditorTestHostProject[] projects)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
112foreach (var project in workspace.Projects)