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)
85
TargetEntry entry = new
TargetEntry
(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false);
99
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false);
115
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false);
1030
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
1046
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;
172
Lookup baseLookup,
TargetEntry
parentTarget,
299
internal
TargetEntry
ParentEntry
326
public bool Equals(
TargetEntry
other)
Microsoft.Build.Engine.UnitTests (26)
BackEnd\TargetEntry_Tests.cs (26)
85
TargetEntry
entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false);
99
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false);
115
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false);
125
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
138
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
152
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
168
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
211
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
256
TargetEntry
entry = CreateStandardTargetEntry(project, "Error");
324
TargetEntry
entry = CreateStandardTargetEntry(project, "Baz2");
328
TargetEntry
depEntry = CreateStandardTargetEntry(project, target.TargetName, entry);
357
TargetEntry
entry = CreateStandardTargetEntry(project, "Empty");
464
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleOutputsNoReturns");
491
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleReturnsNoOutputs");
509
TargetEntry
entry = CreateStandardTargetEntry(project, "MultipleReturnsWithOutputs");
530
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputs");
551
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsKeep");
572
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsNoKeep");
593
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsSameMetadata");
614
TargetEntry
entry = CreateStandardTargetEntry(project, "DupeOutputsDiffMetadata");
1000
private void ExecuteEntry(ProjectInstance project,
TargetEntry
entry)
1023
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string targetName)
1030
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
1041
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string target,
TargetEntry
baseEntry)
1046
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);