6 instantiations of TargetEntry
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
751
TargetEntry newEntry = new
TargetEntry
(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TargetEntry_Tests.cs (5)
89
TargetEntry entry = new
TargetEntry
(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false);
103
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false);
119
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false);
922
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
938
TargetEntry 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)
51
private ConcurrentStack<
TargetEntry
> _targetsToBuild;
127
_targetsToBuild = new ConcurrentStack<
TargetEntry
>();
178
foreach (
TargetEntry
target in _targetsToBuild)
263
TargetEntry
currentTargetEntry = _targetsToBuild.Peek();
417
TargetEntry
currentTargetEntry = _targetsToBuild.Peek();
537
TargetEntry
topEntry = _targetsToBuild.Pop();
558
private bool CheckSkipTarget(ref bool stopProcessingStack,
TargetEntry
currentTargetEntry)
595
TargetEntry
topEntry = _targetsToBuild.Pop();
617
private void PopDependencyTargetsOnTargetFailure(
TargetEntry
topEntry, TargetResult targetResult, ref bool stopProcessingStack)
626
TargetEntry
entry = _targetsToBuild.Pop();
665
private async Task<bool> PushTargets(IList<TargetSpecification> targets,
TargetEntry
parentTargetEntry, Lookup baseLookup, bool addAsErrorTarget, bool stopProcessingOnCompletion, TargetBuiltReason buildReason)
667
List<
TargetEntry
> targetsToPush = new List<
TargetEntry
>(targets.Count);
729
foreach (
TargetEntry
entry in _targetsToBuild)
751
TargetEntry
newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion);
759
foreach (
TargetEntry
targetToPush in targetsToPush)
833
private bool HasCircularDependenceInTargets(
TargetEntry
parentTargetEntry, TargetSpecification targetSpecification, out List<string> circularDependenceChain)
835
TargetEntry
currentParent = parentTargetEntry;
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
74
internal class TargetEntry : IEquatable<
TargetEntry
>
109
private
TargetEntry
_parentTarget;
167
Lookup baseLookup,
TargetEntry
parentTarget,
294
internal
TargetEntry
ParentEntry
321
public bool Equals(
TargetEntry
other)
Microsoft.Build.Engine.UnitTests (26)
BackEnd\TargetEntry_Tests.cs (26)
89
TargetEntry
entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false);
103
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false);
119
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false);
129
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
142
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
156
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
170
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
210
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
252
TargetEntry
entry = CreateStandardTargetEntry(project, "Error");
317
TargetEntry
entry = CreateStandardTargetEntry(project, "Baz2");
321
TargetEntry
depEntry = CreateStandardTargetEntry(project, target.TargetName, entry);
347
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
451
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleOutputsNoReturns");
477
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleReturnsNoOutputs");
495
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleReturnsWithOutputs");
514
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputs");
532
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsKeep");
550
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsNoKeep");
568
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsSameMetadata");
586
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsDiffMetadata");
892
private void ExecuteEntry(ProjectInstance project,
TargetEntry
entry)
915
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string targetName)
922
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
933
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string target,
TargetEntry
baseEntry)
938
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);