1 write to ImportClosure
Microsoft.Build (1)
Definition\Project.cs (1)
4275
ImportClosure
= new List<ResolvedImport>();
11 references to ImportClosure
Microsoft.Build (11)
Definition\Project.cs (10)
2079
foreach (ResolvedImport import in _data.
ImportClosure
)
2256
var imports = new List<ResolvedImport>(_data.
ImportClosure
.Count - 1 /* outer project */);
2258
foreach (ResolvedImport import in _data.
ImportClosure
)
2862
foreach (ProjectRootElement import in _data.
ImportClosure
.Where(i => i.ImportingElement?.ImplicitImportLocation == ImplicitImportLocation.Top).Select(i => i.ImportedProject))
2877
foreach (ProjectRootElement import in _data.
ImportClosure
.Where(i => i.ImportingElement?.ImplicitImportLocation == ImplicitImportLocation.Bottom).Select(i => i.ImportedProject))
3365
if (_data.
ImportClosure
.Any(import => ReferenceEquals(import.ImportedProject, xmlRootElement)))
3741
if (_data.
ImportClosure
!= null)
3743
foreach (ResolvedImport import in _data.
ImportClosure
)
3927
IEnumerable<ProjectRootElement> children = _data.
ImportClosure
.Where(resolvedImport => ReferenceEquals(resolvedImport.ImportingElement, import)).Select(triple => triple.ImportedProject);
4493
ImportClosure
.Add(new ResolvedImport(Project, importElement, import, versionEvaluated, sdkResult));
Instance\ProjectInstance.cs (1)
665
this.CreateImportsSnapshot(data.
ImportClosure
, data.ImportClosureWithDuplicates);