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