43 references to LoadedProjects
Microsoft.Build.Engine.OM.UnitTests (39)
Construction\ProjectRootElement_Tests.cs (2)
1054Assert.Equal(iterations, collection.LoadedProjects.Count); 1079Assert.Empty(collection.LoadedProjects);
Definition\ProjectCollection_Tests.cs (3)
428List<Project> projects = Helpers.MakeList(ProjectCollection.GlobalProjectCollection.LoadedProjects); 705Assert.Empty(Helpers.MakeList(ProjectCollection.GlobalProjectCollection.LoadedProjects)); 794Assert.True(ReferenceEquals(project, Helpers.MakeList(ProjectCollection.GlobalProjectCollection.LoadedProjects)[0]));
ObjectModelRemoting\Helpers\TestCollectionGroup.cs (3)
207result.Add(this.Local, new HashSet<Project>(this.Local.Collection.LoadedProjects)); 211result.Add(r, new HashSet<Project>(r.Collection.LoadedProjects)); 254foreach (var p in linker.Collection.LoadedProjects)
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (31)
41var loadedLocal = pcLocal.Collection.LoadedProjects; 42var loadedRemote = pcRemote.Collection.LoadedProjects; 51loadedLocal = pcLocal.Collection.LoadedProjects; 84var loadedLocal = pcLocal.Collection.LoadedProjects; 85var loadedRemote0 = pcRemote0.Collection.LoadedProjects; 86var loadedRemote1 = pcRemote1.Collection.LoadedProjects; 94var loadedWithExternal = pcLocal.Collection.LoadedProjects; 132Assert.Equal(0, pcLocal.Collection.LoadedProjects.Count); 133Assert.Equal(0, pcRemote.Collection.LoadedProjects.Count); 136Assert.Equal(1, pcLocal.Collection.LoadedProjects.Count); 140Assert.Equal(2, pcLocal.Collection.LoadedProjects.Count); 144Assert.Equal(3, pcLocal.Collection.LoadedProjects.Count); 148Assert.Equal(2, pcLocal.Collection.LoadedProjects.Count); 159Assert.Equal(0, this.StdGroup.Local.Collection.LoadedProjects.Count); 160Assert.Equal(0, this.StdGroup.Remote[0].Collection.LoadedProjects.Count); 161Assert.Equal(0, this.StdGroup.Remote[1].Collection.LoadedProjects.Count); 164ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 1, 0); 165ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 0, 1); 166ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 0, 1); 172ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 2, 0); 173ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 0, 2); 174ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 0, 2); 180ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 2, 1); 181ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 1, 2); 182ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 0, 3); 189ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 2, 2); 190ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 1, 3); 191ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 1, 3); 198ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 0, 2); 199ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 1, 1); 200ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 1, 1);
Microsoft.Build.Engine.UnitTests (4)
Construction\SolutionProjectGenerator_Tests.cs (4)
1898Assert.Empty(ProjectCollection.GlobalProjectCollection.LoadedProjects); 1902Assert.Empty(ProjectCollection.GlobalProjectCollection.LoadedProjects); 1955Assert.Empty(ProjectCollection.GlobalProjectCollection.LoadedProjects); 1960Assert.Empty(ProjectCollection.GlobalProjectCollection.LoadedProjects);