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