17 references to GetLoadedProjects
Microsoft.Build.Engine.OM.UnitTests (16)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (1)
470
=> VerifyProjectCollectionLinks(collection.
GetLoadedProjects
(path), expectedLocal, expectedLinks);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (4)
40
var viewProj = pcLocal.Collection.
GetLoadedProjects
(proj1Path).FirstOrDefault();
114
var viewProj = pcLocal.Collection.
GetLoadedProjects
(proj1Path).FirstOrDefault();
310
var viewProj = pcLocal.Collection.
GetLoadedProjects
(proj1Path).FirstOrDefault();
346
var viewProj = pcLocal.Collection.
GetLoadedProjects
(proj1Path).FirstOrDefault();
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (11)
55
var localProj = pcLocal.Collection.
GetLoadedProjects
(proj1Path).FirstOrDefault();
58
var remoteProj = pcLocal.Collection.
GetLoadedProjects
(proj2Path).FirstOrDefault();
97
var prj0Coll = pcLocal.Collection.
GetLoadedProjects
(proj0Path);
101
var prj1Coll = pcLocal.Collection.
GetLoadedProjects
(proj1Path);
106
var prj2Coll = pcLocal.Collection.
GetLoadedProjects
(proj2Path);
115
var prj3Coll = pcLocal.Collection.
GetLoadedProjects
(proj3Path);
137
Assert.Equal(1, pcLocal.Collection.
GetLoadedProjects
(proj0Path).Count);
141
Assert.Equal(1, pcLocal.Collection.
GetLoadedProjects
(proj1Path).Count);
145
Assert.Equal(1, pcLocal.Collection.
GetLoadedProjects
(proj2Path).Count);
149
Assert.Equal(0, pcLocal.Collection.
GetLoadedProjects
(proj1Path).Count);
150
Assert.Equal(1, pcLocal.Collection.
GetLoadedProjects
(proj2Path).Count);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
88
var loadedProjects = projectCollection?.
GetLoadedProjects
(path);