53 references to AddEmptyProject
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
206var project = SolutionUtilities.AddEmptyProject(workspace.CurrentSolution)
Microsoft.CodeAnalysis.Workspaces.UnitTests (52)
SolutionTests\ProjectSemanticVersionTests.cs (18)
22var project = AddEmptyProject(workspace.CurrentSolution); 31var project = AddEmptyProject(workspace.CurrentSolution) 41var document = AddEmptyProject(workspace.CurrentSolution) 55var document = AddEmptyProject(workspace.CurrentSolution) 69var document = AddEmptyProject(workspace.CurrentSolution) 83var document = AddEmptyProject(workspace.CurrentSolution) 97var document = AddEmptyProject(workspace.CurrentSolution) 111var document = AddEmptyProject(workspace.CurrentSolution) 125var document = AddEmptyProject(workspace.CurrentSolution) 139var document = AddEmptyProject(workspace.CurrentSolution) 153var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.VisualBasic) 167var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.VisualBasic) 181var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.VisualBasic) 195var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.VisualBasic) 209var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.VisualBasic) 223var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.VisualBasic) 237var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.VisualBasic) 251var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.VisualBasic)
SolutionTests\SolutionWithSourceGeneratorTests.cs (33)
44var project = AddEmptyProject(workspace.CurrentSolution) 85var project = AddEmptyProject(workspace.CurrentSolution) 133var project = AddEmptyProject(workspace.CurrentSolution) 160var project = AddEmptyProject(workspace.CurrentSolution) 249var project = AddEmptyProject(workspace.CurrentSolution) 289var project = AddEmptyProject(workspace.CurrentSolution) 333var project = AddEmptyProject(workspace.CurrentSolution) 361var projectBeforeChange = AddEmptyProject(workspace.CurrentSolution) 400var project = AddEmptyProject(solution); 414var solution = AddEmptyProject(workspace.CurrentSolution) 439var project = AddEmptyProject(workspace.CurrentSolution) 453var project = AddEmptyProject(workspace.CurrentSolution) 476var project = AddEmptyProject(workspace.CurrentSolution) 496var project = AddEmptyProject(workspace.CurrentSolution) 523var project = AddEmptyProject(workspace.CurrentSolution) 571var project = AddEmptyProject(workspace.CurrentSolution); 584var project = AddEmptyProject(workspace.CurrentSolution) 608var project = AddEmptyProject(workspace.CurrentSolution) 627var originalAdditionalFile = AddEmptyProject(workspace.CurrentSolution) 655var solution = AddEmptyProject(workspace.CurrentSolution) 659solution = AddEmptyProject(solution).AddProjectReference( 686var project = AddEmptyProject(workspace.CurrentSolution) 714var project = AddEmptyProject(workspace.CurrentSolution) 745var project = AddEmptyProject(workspace.CurrentSolution) 774var project = AddEmptyProject(workspace.CurrentSolution) 804var originalDocument1 = AddEmptyProject(workspace.CurrentSolution, name: "Project1") 809var originalDocument2 = AddEmptyProject(originalDocument1.Project.Solution, name: "Project2") 842var project = AddEmptyProject(workspace.CurrentSolution); 866var project = AddEmptyProject(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference); 899var solution = AddEmptyProject(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference).Solution; 901var project2 = AddEmptyProject(solution, name: "TestProject2").AddAnalyzerReference(analyzerReference); 924var project = AddEmptyProject(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference); 944var project0 = AddEmptyProject(workspace.CurrentSolution);
SolutionTests\SourceGeneratorTelemetryCollectorWorkspaceServiceTests.cs (1)
31var project = AddEmptyProject(workspace.CurrentSolution)