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