6 instantiations of TargetEntry
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
755TargetEntry newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TargetEntry_Tests.cs (5)
93TargetEntry entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false); 107TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false); 123TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false); 926TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false); 942TargetEntry 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; 127_targetsToBuild = new ConcurrentStack<TargetEntry>(); 178foreach (TargetEntry target in _targetsToBuild) 263TargetEntry currentTargetEntry = _targetsToBuild.Peek(); 417TargetEntry currentTargetEntry = _targetsToBuild.Peek(); 537TargetEntry topEntry = _targetsToBuild.Pop(); 558private bool CheckSkipTarget(ref bool stopProcessingStack, TargetEntry currentTargetEntry) 599TargetEntry topEntry = _targetsToBuild.Pop(); 621private void PopDependencyTargetsOnTargetFailure(TargetEntry topEntry, TargetResult targetResult, ref bool stopProcessingStack) 630TargetEntry entry = _targetsToBuild.Pop(); 669private async Task<bool> PushTargets(IList<TargetSpecification> targets, TargetEntry parentTargetEntry, Lookup baseLookup, bool addAsErrorTarget, bool stopProcessingOnCompletion, TargetBuiltReason buildReason) 671List<TargetEntry> targetsToPush = new List<TargetEntry>(targets.Count); 733foreach (TargetEntry entry in _targetsToBuild) 755TargetEntry newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion); 763foreach (TargetEntry targetToPush in targetsToPush) 837private bool HasCircularDependenceInTargets(TargetEntry parentTargetEntry, TargetSpecification targetSpecification, out List<string> circularDependenceChain) 839TargetEntry currentParent = parentTargetEntry;
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
74internal class TargetEntry : IEquatable<TargetEntry> 109private TargetEntry _parentTarget; 167Lookup baseLookup, TargetEntry parentTarget, 294internal TargetEntry ParentEntry 321public bool Equals(TargetEntry other)
Microsoft.Build.Engine.UnitTests (26)
BackEnd\TargetEntry_Tests.cs (26)
93TargetEntry entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false); 107TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false); 123TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false); 133TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 146TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 160TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 174TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 214TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 256TargetEntry entry = CreateStandardTargetEntry(project, "Error"); 321TargetEntry entry = CreateStandardTargetEntry(project, "Baz2"); 325TargetEntry depEntry = CreateStandardTargetEntry(project, target.TargetName, entry); 351TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 455TargetEntry entry = CreateStandardTargetEntry(project, "MultipleOutputsNoReturns"); 481TargetEntry entry = CreateStandardTargetEntry(project, "MultipleReturnsNoOutputs"); 499TargetEntry entry = CreateStandardTargetEntry(project, "MultipleReturnsWithOutputs"); 518TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputs"); 536TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsKeep"); 554TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsNoKeep"); 572TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsSameMetadata"); 590TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsDiffMetadata"); 896private void ExecuteEntry(ProjectInstance project, TargetEntry entry) 919private TargetEntry CreateStandardTargetEntry(ProjectInstance project, string targetName) 926TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false); 937private TargetEntry CreateStandardTargetEntry(ProjectInstance project, string target, TargetEntry baseEntry) 942TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);