4 instantiations of ProjectItemGroupTaskItemInstance
Microsoft.Build (3)
Evaluation\Evaluator.cs (1)
514items.Add(new ProjectItemGroupTaskItemInstance(
Instance\ProjectItemGroupTaskItemInstance.cs (2)
438return new ProjectItemGroupTaskItemInstance(this); 468var instance = new ProjectItemGroupTaskItemInstance();
Microsoft.Build.Engine.UnitTests (1)
TestData\ProjectInstanceTestObjects.cs (1)
33return new ProjectItemGroupTaskItemInstance(
31 references to ProjectItemGroupTaskItemInstance
Microsoft.Build (20)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (7)
54foreach (ProjectItemGroupTaskItemInstance child in _taskInstance.Items) 154private void ExecuteAdd(ProjectItemGroupTaskItemInstance child, ItemBucket bucket, ISet<string> keepMetadata, ISet<string> removeMetadata, LoggingContext loggingContext = null) 250private void ExecuteRemove(ProjectItemGroupTaskItemInstance child, ItemBucket bucket, HashSet<string> matchOnMetadata, MatchOnMetadataOptions matchingOptions) 297private void ExecuteModify(ProjectItemGroupTaskItemInstance child, ItemBucket bucket, ISet<string> keepMetadata, ISet<string> removeMetadata, LoggingContext loggingContext = null) 354private void GetBatchableValuesFromBuildItemGroupChild(List<string> parameterValues, ProjectItemGroupTaskItemInstance child) 383ProjectItemGroupTaskItemInstance originalItem, 616ProjectItemGroupTaskItemInstance child,
Evaluation\Evaluator.cs (2)
498List<ProjectItemGroupTaskItemInstance> items = new List<ProjectItemGroupTaskItemInstance>(itemGroupElement.Count);
Instance\ProjectItemGroupTaskInstance.cs (7)
31private List<ProjectItemGroupTaskItemInstance> _items; 51List<ProjectItemGroupTaskItemInstance> items) 91public ICollection<ProjectItemGroupTaskItemInstance> Items 97(ICollection<ProjectItemGroupTaskItemInstance>)ReadOnlyEmptyCollection<ProjectItemGroupTaskItemInstance>.Instance : 98new ReadOnlyCollection<ProjectItemGroupTaskItemInstance>(_items); 135translator.Translate(ref _items, ProjectItemGroupTaskItemInstance.FactoryForDeserialization);
Instance\ProjectItemGroupTaskItemInstance.cs (4)
202private ProjectItemGroupTaskItemInstance(ProjectItemGroupTaskItemInstance that) 436internal ProjectItemGroupTaskItemInstance DeepClone() 466internal static ProjectItemGroupTaskItemInstance FactoryForDeserialization(ITranslator translator) 468var instance = new ProjectItemGroupTaskItemInstance();
Microsoft.Build.Engine.UnitTests (11)
Instance\ProjectInstance_Internal_Tests.cs (1)
216List<ProjectItemGroupTaskItemInstance> items = Helpers.MakeList(itemGroup.Items);
Instance\ProjectItemGroupTaskItemInstance_Internal_Tests.cs (3)
43var original = CreateTargetItem(null, metadata); 46var clone = ProjectItemGroupTaskItemInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
TestComparers\ProjectInstanceModelTestComparers.cs (4)
168public class TargetItemComparer : IEqualityComparer<ProjectItemGroupTaskItemInstance> 170public bool Equals(ProjectItemGroupTaskItemInstance x, ProjectItemGroupTaskItemInstance y) 199public int GetHashCode(ProjectItemGroupTaskItemInstance obj)
TestData\ProjectInstanceTestObjects.cs (3)
16public static ProjectItemGroupTaskInstance CreateTargetItemGroup(int? counter = null, List<ProjectItemGroupTaskItemInstance> items = null) 18items ??= new List<ProjectItemGroupTaskItemInstance>(); 28public static ProjectItemGroupTaskItemInstance CreateTargetItem(int? counter = null, List<ProjectItemGroupTaskMetadataInstance> metadata = null)