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)
49var project = AddEmptyProject(workspace.CurrentSolution) 90var project = AddEmptyProject(workspace.CurrentSolution) 138var project = AddEmptyProject(workspace.CurrentSolution) 165var project = AddEmptyProject(workspace.CurrentSolution) 254var project = AddEmptyProject(workspace.CurrentSolution) 294var project = AddEmptyProject(workspace.CurrentSolution) 338var project = AddEmptyProject(workspace.CurrentSolution) 366var projectBeforeChange = AddEmptyProject(workspace.CurrentSolution) 405var project = AddEmptyProject(solution); 419var solution = AddEmptyProject(workspace.CurrentSolution) 444var project = AddEmptyProject(workspace.CurrentSolution) 458var project = AddEmptyProject(workspace.CurrentSolution) 481var project = AddEmptyProject(workspace.CurrentSolution) 501var project = AddEmptyProject(workspace.CurrentSolution) 528var project = AddEmptyProject(workspace.CurrentSolution) 576var project = AddEmptyProject(workspace.CurrentSolution); 589var project = AddEmptyProject(workspace.CurrentSolution) 613var project = AddEmptyProject(workspace.CurrentSolution) 632var originalAdditionalFile = AddEmptyProject(workspace.CurrentSolution) 660var solution = AddEmptyProject(workspace.CurrentSolution) 664solution = AddEmptyProject(solution).AddProjectReference( 691var project = AddEmptyProject(workspace.CurrentSolution) 719var project = AddEmptyProject(workspace.CurrentSolution) 750var project = AddEmptyProject(workspace.CurrentSolution) 779var project = AddEmptyProject(workspace.CurrentSolution) 809var originalDocument1 = AddEmptyProject(workspace.CurrentSolution, name: "Project1") 814var originalDocument2 = AddEmptyProject(originalDocument1.Project.Solution, name: "Project2") 847var project = AddEmptyProject(workspace.CurrentSolution); 871var project = AddEmptyProject(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference); 904var solution = AddEmptyProject(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference).Solution; 906var project2 = AddEmptyProject(solution, name: "TestProject2").AddAnalyzerReference(analyzerReference); 929var project = AddEmptyProject(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference); 949var project0 = AddEmptyProject(workspace.CurrentSolution);
SolutionTests\SourceGeneratorTelemetryCollectorWorkspaceServiceTests.cs (1)
31var project = AddEmptyProject(workspace.CurrentSolution)