4 types derived from ProjectTargetInstanceChild
Microsoft.Build (4)
Instance\ProjectItemGroupTaskInstance.cs (1)
20
public class ProjectItemGroupTaskInstance :
ProjectTargetInstanceChild
, ITranslatable
Instance\ProjectOnErrorInstance.cs (1)
20
public sealed class ProjectOnErrorInstance :
ProjectTargetInstanceChild
, ITranslatable
Instance\ProjectPropertyGroupTaskInstance.cs (1)
20
public class ProjectPropertyGroupTaskInstance :
ProjectTargetInstanceChild
, ITranslatable
Instance\ProjectTaskInstance.cs (1)
23
public sealed class ProjectTaskInstance :
ProjectTargetInstanceChild
, ITranslatable
45 references to ProjectTargetInstanceChild
Microsoft.Build (28)
BackEnd\Components\Logging\TargetLoggingContext.cs (1)
121
internal TaskLoggingContext LogTaskBatchStarted(string projectFullPath,
ProjectTargetInstanceChild
task, string taskAssemblyLocation)
BackEnd\Components\Logging\TaskLoggingContext.cs (5)
27
private
ProjectTargetInstanceChild
_task;
37
internal TaskLoggingContext(TargetLoggingContext targetLoggingContext, string projectFullPath,
ProjectTargetInstanceChild
task, string taskAssemblyLocation)
47
string projectFullPath,
ProjectTargetInstanceChild
task, string taskAssemblyLocation)
61
private static string GetTaskName(
ProjectTargetInstanceChild
task)
107
internal
ProjectTargetInstanceChild
Task
BackEnd\Components\RequestBuilder\IntrinsicTask.cs (1)
68
internal static IntrinsicTask InstantiateTask(
ProjectTargetInstanceChild
taskInstance, TargetLoggingContext loggingContext, ProjectInstance projectInstance, bool logTaskInputs)
BackEnd\Components\RequestBuilder\ITaskBuilder.cs (1)
54
Task<WorkUnitResult> ExecuteTask(TargetLoggingContext targetLoggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback,
ProjectTargetInstanceChild
task, TaskExecutionMode mode, Lookup lookupForInference, Lookup lookupForExecution, CancellationToken cancellationToken);
BackEnd\Components\RequestBuilder\TargetEntry.cs (1)
829
ProjectTargetInstanceChild
targetChildInstance = _target.Children[currentTask];
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
83
private
ProjectTargetInstanceChild
_targetChildInstance;
152
public async Task<WorkUnitResult> ExecuteTask(TargetLoggingContext loggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback,
ProjectTargetInstanceChild
taskInstance, TaskExecutionMode mode, Lookup inferLookup, Lookup executeLookup, CancellationToken cancellationToken)
Evaluation\Evaluator.cs (4)
549
List<
ProjectTargetInstanceChild
> targetChildren = new List<
ProjectTargetInstanceChild
>(targetElement.Count);
580
ObjectModel.ReadOnlyCollection<
ProjectTargetInstanceChild
> readOnlyTargetChildren = new ObjectModel.ReadOnlyCollection<
ProjectTargetInstanceChild
>(targetChildren);
Instance\ProjectInstance.cs (2)
2833
new ObjectModel.ReadOnlyCollection<
ProjectTargetInstanceChild
>(new List<
ProjectTargetInstanceChild
>()),
Instance\ProjectTargetInstance.cs (9)
135
private IList<
ProjectTargetInstanceChild
> _children;
161
ObjectModel.ReadOnlyCollection<
ProjectTargetInstanceChild
> children,
308
public IList<
ProjectTargetInstanceChild
> Children
510
internal void AddProjectTargetInstanceChild(
ProjectTargetInstanceChild
projectTargetInstanceChild)
512
if (!(_children is List<
ProjectTargetInstanceChild
>))
514
_children = new List<
ProjectTargetInstanceChild
>(_children);
573
translator.Translate(ref children,
ProjectTargetInstanceChild
.FactoryForDeserialization, count => new List<
ProjectTargetInstanceChild
>(count));
580
_children = new ObjectModel.ReadOnlyCollection<
ProjectTargetInstanceChild
>(children);
Instance\ProjectTargetInstanceChild.cs (2)
51
internal static
ProjectTargetInstanceChild
FactoryForDeserialization(ITranslator translator)
53
return translator.FactoryForDeserializingTypeWithName<
ProjectTargetInstanceChild
>();
Microsoft.Build.Engine.UnitTests (17)
BackEnd\IntrinsicTask_Tests.cs (2)
3955
ProjectTargetInstanceChild
targetChild = projectInstance.Targets["t"].Children.First();
3990
var
targetChild = projectInstance.Targets["t"].Children.First();
BackEnd\MockTaskBuilder.cs (1)
83
public Task<WorkUnitResult> ExecuteTask(TargetLoggingContext targetLoggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback,
ProjectTargetInstanceChild
task, TaskExecutionMode mode, Lookup lookupForInference, Lookup lookupForExecution, CancellationToken cancellationToken)
Instance\ProjectTargetInstance_Internal_Tests.cs (7)
31
new ReadOnlyCollection<
ProjectTargetInstanceChild
>(System.Array.Empty<
ProjectTargetInstanceChild
>()),
37
new ReadOnlyCollection<
ProjectTargetInstanceChild
>(
38
new
ProjectTargetInstanceChild
[]
50
new ReadOnlyCollection<
ProjectTargetInstanceChild
>(
51
new
ProjectTargetInstanceChild
[]
74
ReadOnlyCollection<
ProjectTargetInstanceChild
> children,
TestComparers\ProjectInstanceModelTestComparers.cs (4)
116
public class TargetChildComparer : IEqualityComparer<
ProjectTargetInstanceChild
>
118
public bool Equals(
ProjectTargetInstanceChild
x,
ProjectTargetInstanceChild
y)
143
public int GetHashCode(
ProjectTargetInstanceChild
obj)
TestData\ProjectInstanceTestObjects.cs (3)
165
System.Collections.ObjectModel.ReadOnlyCollection<
ProjectTargetInstanceChild
> children,
168
children ??= new System.Collections.ObjectModel.ReadOnlyCollection<
ProjectTargetInstanceChild
>(new List<
ProjectTargetInstanceChild
>());