6 instantiations of TargetEntry
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
751TargetEntry newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TargetEntry_Tests.cs (5)
85TargetEntry entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false); 99TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false); 115TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false); 1030TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false); 1046TargetEntry 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) 595TargetEntry topEntry = _targetsToBuild.Pop(); 617private void PopDependencyTargetsOnTargetFailure(TargetEntry topEntry, TargetResult targetResult, ref bool stopProcessingStack) 626TargetEntry entry = _targetsToBuild.Pop(); 665private async Task<bool> PushTargets(IList<TargetSpecification> targets, TargetEntry parentTargetEntry, Lookup baseLookup, bool addAsErrorTarget, bool stopProcessingOnCompletion, TargetBuiltReason buildReason) 667List<TargetEntry> targetsToPush = new List<TargetEntry>(targets.Count); 729foreach (TargetEntry entry in _targetsToBuild) 751TargetEntry newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion); 759foreach (TargetEntry targetToPush in targetsToPush) 833private bool HasCircularDependenceInTargets(TargetEntry parentTargetEntry, TargetSpecification targetSpecification, out List<string> circularDependenceChain) 835TargetEntry 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)
85TargetEntry entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false); 99TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false); 115TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false); 125TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 138TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 152TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 168TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 211TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 256TargetEntry entry = CreateStandardTargetEntry(project, "Error"); 324TargetEntry entry = CreateStandardTargetEntry(project, "Baz2"); 328TargetEntry depEntry = CreateStandardTargetEntry(project, target.TargetName, entry); 357TargetEntry entry = CreateStandardTargetEntry(project, "Empty"); 464TargetEntry entry = CreateStandardTargetEntry(project, "MultipleOutputsNoReturns"); 491TargetEntry entry = CreateStandardTargetEntry(project, "MultipleReturnsNoOutputs"); 509TargetEntry entry = CreateStandardTargetEntry(project, "MultipleReturnsWithOutputs"); 530TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputs"); 551TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsKeep"); 572TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsNoKeep"); 593TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsSameMetadata"); 614TargetEntry entry = CreateStandardTargetEntry(project, "DupeOutputsDiffMetadata"); 1000private void ExecuteEntry(ProjectInstance project, TargetEntry entry) 1023private TargetEntry CreateStandardTargetEntry(ProjectInstance project, string targetName) 1030TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false); 1041private TargetEntry CreateStandardTargetEntry(ProjectInstance project, string target, TargetEntry baseEntry) 1046TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);