53 references to AddEmptyProject
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
206
var project = SolutionUtilities.
AddEmptyProject
(workspace.CurrentSolution)
Microsoft.CodeAnalysis.Workspaces.UnitTests (52)
SolutionTests\ProjectSemanticVersionTests.cs (18)
22
var project =
AddEmptyProject
(workspace.CurrentSolution);
31
var project =
AddEmptyProject
(workspace.CurrentSolution)
41
var document =
AddEmptyProject
(workspace.CurrentSolution)
55
var document =
AddEmptyProject
(workspace.CurrentSolution)
69
var document =
AddEmptyProject
(workspace.CurrentSolution)
83
var document =
AddEmptyProject
(workspace.CurrentSolution)
97
var document =
AddEmptyProject
(workspace.CurrentSolution)
111
var document =
AddEmptyProject
(workspace.CurrentSolution)
125
var document =
AddEmptyProject
(workspace.CurrentSolution)
139
var document =
AddEmptyProject
(workspace.CurrentSolution)
153
var document =
AddEmptyProject
(workspace.CurrentSolution, LanguageNames.VisualBasic)
167
var document =
AddEmptyProject
(workspace.CurrentSolution, LanguageNames.VisualBasic)
181
var document =
AddEmptyProject
(workspace.CurrentSolution, LanguageNames.VisualBasic)
195
var document =
AddEmptyProject
(workspace.CurrentSolution, LanguageNames.VisualBasic)
209
var document =
AddEmptyProject
(workspace.CurrentSolution, LanguageNames.VisualBasic)
223
var document =
AddEmptyProject
(workspace.CurrentSolution, LanguageNames.VisualBasic)
237
var document =
AddEmptyProject
(workspace.CurrentSolution, LanguageNames.VisualBasic)
251
var document =
AddEmptyProject
(workspace.CurrentSolution, LanguageNames.VisualBasic)
SolutionTests\SolutionWithSourceGeneratorTests.cs (33)
49
var project =
AddEmptyProject
(workspace.CurrentSolution)
90
var project =
AddEmptyProject
(workspace.CurrentSolution)
138
var project =
AddEmptyProject
(workspace.CurrentSolution)
165
var project =
AddEmptyProject
(workspace.CurrentSolution)
254
var project =
AddEmptyProject
(workspace.CurrentSolution)
294
var project =
AddEmptyProject
(workspace.CurrentSolution)
338
var project =
AddEmptyProject
(workspace.CurrentSolution)
366
var projectBeforeChange =
AddEmptyProject
(workspace.CurrentSolution)
405
var project =
AddEmptyProject
(solution);
419
var solution =
AddEmptyProject
(workspace.CurrentSolution)
444
var project =
AddEmptyProject
(workspace.CurrentSolution)
458
var project =
AddEmptyProject
(workspace.CurrentSolution)
481
var project =
AddEmptyProject
(workspace.CurrentSolution)
501
var project =
AddEmptyProject
(workspace.CurrentSolution)
528
var project =
AddEmptyProject
(workspace.CurrentSolution)
576
var project =
AddEmptyProject
(workspace.CurrentSolution);
589
var project =
AddEmptyProject
(workspace.CurrentSolution)
613
var project =
AddEmptyProject
(workspace.CurrentSolution)
632
var originalAdditionalFile =
AddEmptyProject
(workspace.CurrentSolution)
660
var solution =
AddEmptyProject
(workspace.CurrentSolution)
664
solution =
AddEmptyProject
(solution).AddProjectReference(
691
var project =
AddEmptyProject
(workspace.CurrentSolution)
719
var project =
AddEmptyProject
(workspace.CurrentSolution)
750
var project =
AddEmptyProject
(workspace.CurrentSolution)
779
var project =
AddEmptyProject
(workspace.CurrentSolution)
809
var originalDocument1 =
AddEmptyProject
(workspace.CurrentSolution, name: "Project1")
814
var originalDocument2 =
AddEmptyProject
(originalDocument1.Project.Solution, name: "Project2")
847
var project =
AddEmptyProject
(workspace.CurrentSolution);
871
var project =
AddEmptyProject
(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference);
904
var solution =
AddEmptyProject
(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference).Solution;
906
var project2 =
AddEmptyProject
(solution, name: "TestProject2").AddAnalyzerReference(analyzerReference);
929
var project =
AddEmptyProject
(workspace.CurrentSolution).AddAnalyzerReference(analyzerReference);
949
var project0 =
AddEmptyProject
(workspace.CurrentSolution);
SolutionTests\SourceGeneratorTelemetryCollectorWorkspaceServiceTests.cs (1)
31
var project =
AddEmptyProject
(workspace.CurrentSolution)