6 instantiations of TargetEntry
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
744
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)
86
TargetEntry entry = new
TargetEntry
(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false);
100
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false);
116
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, null, false);
1031
TargetEntry entry = new
TargetEntry
(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
1047
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;
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)
744
TargetEntry
newEntry = new TargetEntry(_requestEntry, this as ITargetBuilderCallback, targetSpecification, baseLookup, parentTargetEntry, entryReason, _componentHost, _projectLoggingContext, stopProcessingOnCompletion);
752
foreach (
TargetEntry
targetToPush in targetsToPush)
826
private bool HasCircularDependenceInTargets(
TargetEntry
parentTargetEntry, TargetSpecification targetSpecification, out List<string> circularDependenceChain)
828
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)
86
TargetEntry
entry = new TargetEntry(requestEntry, this, null, lookup, null, TargetBuiltReason.None, _host, null, false);
100
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), null, null, TargetBuiltReason.None, _host, null, false);
116
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification("Empty", null), lookup, null, TargetBuiltReason.None, null, 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");
1001
private void ExecuteEntry(ProjectInstance project,
TargetEntry
entry)
1024
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string targetName)
1031
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(targetName, project.Targets[targetName].Location), lookup, null, TargetBuiltReason.None, _host, null, false);
1042
private
TargetEntry
CreateStandardTargetEntry(ProjectInstance project, string target,
TargetEntry
baseEntry)
1047
TargetEntry
entry = new TargetEntry(requestEntry, this, new TargetSpecification(target, project.Targets[target].Location), baseEntry.Lookup, baseEntry, TargetBuiltReason.None, _host, null, false);