6 instantiations of TargetEntry
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
740
TargetEntry newEntry = new
TargetEntry
(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, buildReason, _componentHost, stopProcessingOnCompletion);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TargetEntry_Tests.cs (5)
86
TargetEntry entry = new
TargetEntry
(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, false);
100
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, false);
116
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, false);
1028
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, false);
1044
TargetEntry 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)
51
private ConcurrentStack<
TargetEntry
> _targetsToBuild;
122
_targetsToBuild = new ConcurrentStack<
TargetEntry
>();
173
foreach (
TargetEntry
target in _targetsToBuild)
257
TargetEntry
currentTargetEntry = _targetsToBuild.Peek();
411
TargetEntry
currentTargetEntry = _targetsToBuild.Peek();
526
TargetEntry
topEntry = _targetsToBuild.Pop();
547
private bool CheckSkipTarget(ref bool stopProcessingStack,
TargetEntry
currentTargetEntry)
585
TargetEntry
topEntry = _targetsToBuild.Pop();
607
private void PopDependencyTargetsOnTargetFailure(
TargetEntry
topEntry, TargetResult targetResult, ref bool stopProcessingStack)
616
TargetEntry
entry = _targetsToBuild.Pop();
655
private async Task<bool> PushTargets(IList<TargetSpecification> targets,
TargetEntry
parentTargetEntry, Lookup baseLookup, bool addAsErrorTarget, bool stopProcessingOnCompletion, TargetBuiltReason buildReason)
657
List<
TargetEntry
> targetsToPush = new List<
TargetEntry
>(targets.Count);
722
foreach (
TargetEntry
entry in _targetsToBuild)
740
TargetEntry
newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, buildReason, _componentHost, stopProcessingOnCompletion);
747
foreach (
TargetEntry
targetToPush in targetsToPush)
821
private bool HasCircularDependenceInTargets(
TargetEntry
parentTargetEntry, TargetSpecification targetSpecification, out List<string> circularDependenceChain)
823
TargetEntry
currentParent = parentTargetEntry;
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
73
internal class TargetEntry : IEquatable<
TargetEntry
>
108
private
TargetEntry
_parentTarget;
166
internal TargetEntry(BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback, TargetSpecification targetSpecification, Lookup baseLookup,
TargetEntry
parentTarget, TargetBuiltReason buildReason, IBuildComponentHost host, bool stopProcessingOnCompletion)
289
internal
TargetEntry
ParentEntry
316
public bool Equals(
TargetEntry
other)
Microsoft.Build.Engine.UnitTests (26)
BackEnd\TargetEntry_Tests.cs (26)
86
TargetEntry
entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, false);
100
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, false);
116
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, false);
126
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
139
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
153
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
169
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
212
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
257
TargetEntry
entry = CreateStandardTargetEntry(project, "Error");
325
TargetEntry
entry = CreateStandardTargetEntry(project, "Baz2");
329
TargetEntry
depEntry = CreateStandardTargetEntry(project, target.TargetName, entry);
358
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
465
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleOutputsNoReturns");
492
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleReturnsNoOutputs");
510
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleReturnsWithOutputs");
531
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputs");
552
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsKeep");
573
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsNoKeep");
594
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsSameMetadata");
615
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsDiffMetadata");
998
private void ExecuteEntry(ProjectInstance project,
TargetEntry
entry)
1021
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string targetName)
1028
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, false);
1039
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string target,
TargetEntry
baseEntry)
1044
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, false);