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)
40var viewProj = pcLocal.Collection.GetLoadedProjects(proj1Path).FirstOrDefault(); 114var viewProj = pcLocal.Collection.GetLoadedProjects(proj1Path).FirstOrDefault(); 310var viewProj = pcLocal.Collection.GetLoadedProjects(proj1Path).FirstOrDefault(); 346var viewProj = pcLocal.Collection.GetLoadedProjects(proj1Path).FirstOrDefault();
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (11)
55var localProj = pcLocal.Collection.GetLoadedProjects(proj1Path).FirstOrDefault(); 58var remoteProj = pcLocal.Collection.GetLoadedProjects(proj2Path).FirstOrDefault(); 97var prj0Coll = pcLocal.Collection.GetLoadedProjects(proj0Path); 101var prj1Coll = pcLocal.Collection.GetLoadedProjects(proj1Path); 106var prj2Coll = pcLocal.Collection.GetLoadedProjects(proj2Path); 115var prj3Coll = pcLocal.Collection.GetLoadedProjects(proj3Path); 137Assert.Equal(1, pcLocal.Collection.GetLoadedProjects(proj0Path).Count); 141Assert.Equal(1, pcLocal.Collection.GetLoadedProjects(proj1Path).Count); 145Assert.Equal(1, pcLocal.Collection.GetLoadedProjects(proj2Path).Count); 149Assert.Equal(0, pcLocal.Collection.GetLoadedProjects(proj1Path).Count); 150Assert.Equal(1, pcLocal.Collection.GetLoadedProjects(proj2Path).Count);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
88var loadedProjects = projectCollection?.GetLoadedProjects(path);