6 instantiations of TargetEntry
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
740TargetEntry newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, buildReason, _componentHost, stopProcessingOnCompletion);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TargetEntry_Tests.cs (5)
86TargetEntry entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, false); 100TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, false); 116TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, false); 1028TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, false); 1044TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, 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) 740TargetEntry newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, buildReason, _componentHost, stopProcessingOnCompletion); 747foreach (TargetEntry targetToPush in targetsToPush) 821private bool HasCircularDependenceInTargets(TargetEntry parentTargetEntry, TargetSpecification targetSpecification, out List<string> circularDependenceChain) 823TargetEntry currentParent = parentTargetEntry;
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
73internal class TargetEntry : IEquatable<TargetEntry> 108private TargetEntry _parentTarget; 166internal TargetEntry(BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback, TargetSpecification targetSpecification, Lookup baseLookup, TargetEntry parentTarget, TargetBuiltReason buildReason, IBuildComponentHost host, bool stopProcessingOnCompletion) 289internal TargetEntry ParentEntry 316public 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, false); 100TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, false); 116TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, 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"); 998private void ExecuteEntry(ProjectInstance project, TargetEntry entry) 1021private TargetEntry CreateStandardTargetEntry(ProjectInstance project, string targetName) 1028TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, false); 1039private TargetEntry CreateStandardTargetEntry(ProjectInstance project, string target, TargetEntry baseEntry) 1044TargetEntry entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, false);