17 references to Imports
Microsoft.Build.Engine.OM.UnitTests (13)
Construction\ProjectImportElement_Tests.cs (4)
31Assert.Empty(project.Imports); 101List<ProjectImportElement> imports = Helpers.MakeList(project.Imports); 180ProjectImportElement import = Helpers.GetFirst(project.Xml.Imports); 219ProjectImportElement import = Helpers.GetFirst(project.Xml.Imports);
Construction\ProjectImportGroupElement_Tests.cs (4)
149Assert.Empty(project.Imports); 169Assert.Empty(project.Imports); 267List<ProjectImportElement> imports = Helpers.MakeList(project.Imports); 299List<ProjectImportElement> imports = Helpers.MakeList(project.Imports);
Definition\Project_Tests.cs (1)
612object.ReferenceEquals(imports.First().ImportingElement, xml.Imports.ElementAt(0)).ShouldBeTrue();
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
552ViewValidation.Verify(viewXml.Imports, realXml.Imports, Verify, context);
ObjectModelRemoting\LinkedConstructionReadOnly_Tests.cs (2)
114var realImports = preReal.Imports.ToList(); 115var viewImports = preView.Imports.ToList();
Microsoft.Build.Engine.UnitTests (4)
Construction\ProjectImportElement_Tests.cs (2)
30ProjectImportElement importElement = rootElement.Imports.First(); 67ProjectImportElement importElement = rootElement.Imports.First();
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
138Assert.Equal(expectImportInLogicalProject ? 2 : 0, projectRootElement.Imports.Count); 205Assert.Equal(expectImportInLogicalProject ? 6 : 0, projectRootElement.Imports.Count);