6 instantiations of TargetEntry
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
744TargetEntry newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TargetEntry_Tests.cs (5)
86TargetEntry entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false); 100TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false); 116TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false); 1031TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false); 1047TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);
49 references to TargetEntry
Microsoft.Build (23)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (18)
51private ConcurrentStack<TargetEntry> _targetsToBuild; 122_targetsToBuild = new ConcurrentStack<TargetEntry>(); 173foreach (TargetEntry target in _targetsToBuild) 257TargetEntry currentTargetEntry = _targetsToBuild.Peek(); 411TargetEntry currentTargetEntry = _targetsToBuild.Peek(); 526TargetEntry topEntry = _targetsToBuild.Pop(); 547private bool CheckSkipTarget(ref bool stopProcessingStack, TargetEntry currentTargetEntry) 585TargetEntry topEntry = _targetsToBuild.Pop(); 607private void PopDependencyTargetsOnTargetFailure(TargetEntry topEntry, TargetResult targetResult, ref bool stopProcessingStack) 616TargetEntry entry = _targetsToBuild.Pop(); 655private async Task<bool> PushTargets(IList<TargetSpecification> targets, TargetEntry parentTargetEntry, Lookup baseLookup, bool addAsErrorTarget, bool stopProcessingOnCompletion, TargetBuiltReason buildReason) 657List<TargetEntry> targetsToPush = new List<TargetEntry>(targets.Count); 722foreach (TargetEntry entry in _targetsToBuild) 744TargetEntry newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion); 752foreach (TargetEntry targetToPush in targetsToPush) 826private bool HasCircularDependenceInTargets(TargetEntry parentTargetEntry, TargetSpecification targetSpecification, out List<string> circularDependenceChain) 828TargetEntry currentParent = parentTargetEntry;
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
74internal class TargetEntry : IEquatable<TargetEntry> 109private TargetEntry _parentTarget; 172Lookup baseLookup, TargetEntry parentTarget, 299internal TargetEntry ParentEntry 326public bool Equals(TargetEntry other)
Microsoft.Build.Engine.UnitTests (26)
BackEnd\TargetEntry_Tests.cs (26)
86TargetEntry entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false); 100TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false); 116TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false); 126TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 139TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 153TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 169TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 212TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 257TargetEntry entry = CreateStandardTargetEntry(project, "Error"); 325TargetEntry entry = CreateStandardTargetEntry(project, "Baz2"); 329TargetEntry depEntry = CreateStandardTargetEntry(project, target.TargetName, entry); 358TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 465TargetEntry entry = CreateStandardTargetEntry(project, "MultipleOutputsNoReturns"); 492TargetEntry entry = CreateStandardTargetEntry(project, "MultipleReturnsNoOutputs"); 510TargetEntry entry = CreateStandardTargetEntry(project, "MultipleReturnsWithOutputs"); 531TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputs"); 552TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsKeep"); 573TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsNoKeep"); 594TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsSameMetadata"); 615TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsDiffMetadata"); 1001private void ExecuteEntry(ProjectInstance project, TargetEntry entry) 1024private TargetEntry CreateStandardTargetEntry(ProjectInstance project, string targetName) 1031TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false); 1042private TargetEntry CreateStandardTargetEntry(ProjectInstance project, string target, TargetEntry baseEntry) 1047TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);