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