6 instantiations of TargetEntry
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
755
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)
94
TargetEntry entry = new
TargetEntry
(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false);
108
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false);
124
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false);
927
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
943
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)
599
TargetEntry
topEntry = _targetsToBuild.Pop();
621
private void PopDependencyTargetsOnTargetFailure(
TargetEntry
topEntry, TargetResult targetResult, ref bool stopProcessingStack)
630
TargetEntry
entry = _targetsToBuild.Pop();
669
private async Task<bool> PushTargets(IList<TargetSpecification> targets,
TargetEntry
parentTargetEntry, Lookup baseLookup, bool addAsErrorTarget, bool stopProcessingOnCompletion, TargetBuiltReason buildReason)
671
List<
TargetEntry
> targetsToPush = new List<
TargetEntry
>(targets.Count);
733
foreach (
TargetEntry
entry in _targetsToBuild)
755
TargetEntry
newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion);
763
foreach (
TargetEntry
targetToPush in targetsToPush)
837
private bool HasCircularDependenceInTargets(
TargetEntry
parentTargetEntry, TargetSpecification targetSpecification, out List<string> circularDependenceChain)
839
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)
94
TargetEntry
entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false);
108
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false);
124
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false);
134
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
147
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
161
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
175
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
215
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
257
TargetEntry
entry = CreateStandardTargetEntry(project, "Error");
322
TargetEntry
entry = CreateStandardTargetEntry(project, "Baz2");
326
TargetEntry
depEntry = CreateStandardTargetEntry(project, target.TargetName, entry);
352
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
456
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleOutputsNoReturns");
482
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleReturnsNoOutputs");
500
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleReturnsWithOutputs");
519
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputs");
537
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsKeep");
555
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsNoKeep");
573
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsSameMetadata");
591
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsDiffMetadata");
897
private void ExecuteEntry(ProjectInstance project,
TargetEntry
entry)
920
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string targetName)
927
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
938
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string target,
TargetEntry
baseEntry)
943
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);