4 instantiations of ProjectItemGroupTaskMetadataInstance
Microsoft.Build (3)
Evaluation\Evaluator.cs (1)
506metadata.Add(new ProjectItemGroupTaskMetadataInstance(
Instance\ProjectItemGroupTaskMetadataInstance.cs (2)
132return new ProjectItemGroupTaskMetadataInstance(this); 146var instance = new ProjectItemGroupTaskMetadataInstance();
Microsoft.Build.Engine.UnitTests (1)
TestData\ProjectInstanceTestObjects.cs (1)
61return new ProjectItemGroupTaskMetadataInstance(
29 references to ProjectItemGroupTaskMetadataInstance
Microsoft.Build (16)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (3)
171foreach (ProjectItemGroupTaskMetadataInstance metadataInstance in child.Metadata) 325foreach (ProjectItemGroupTaskMetadataInstance metadataInstance in child.Metadata) 361foreach (ProjectItemGroupTaskMetadataInstance metadataElement in child.Metadata)
Evaluation\Evaluator.cs (2)
502List<ProjectItemGroupTaskMetadataInstance> metadata = itemElement.Metadata.Count > 0 ? new List<ProjectItemGroupTaskMetadataInstance>() : null;
Instance\ProjectItemGroupTaskItemInstance.cs (7)
131private List<ProjectItemGroupTaskMetadataInstance> _metadata; 160List<ProjectItemGroupTaskMetadataInstance> metadata) 322public ICollection<ProjectItemGroupTaskMetadataInstance> Metadata 328(ICollection<ProjectItemGroupTaskMetadataInstance>)ReadOnlyEmptyCollection<ProjectItemGroupTaskMetadataInstance>.Instance : 329new ReadOnlyCollection<ProjectItemGroupTaskMetadataInstance>(_metadata); 463translator.Translate(ref _metadata, ProjectItemGroupTaskMetadataInstance.FactoryForDeserialization);
Instance\ProjectItemGroupTaskMetadataInstance.cs (4)
65private ProjectItemGroupTaskMetadataInstance(ProjectItemGroupTaskMetadataInstance that) 130internal ProjectItemGroupTaskMetadataInstance DeepClone() 144internal static ProjectItemGroupTaskMetadataInstance FactoryForDeserialization(ITranslator translator) 146var instance = new ProjectItemGroupTaskMetadataInstance();
Microsoft.Build.Engine.UnitTests (13)
Instance\ProjectInstance_Internal_Tests.cs (3)
234List<ProjectItemGroupTaskMetadataInstance> metadata1 = Helpers.MakeList(items[0].Metadata); 235List<ProjectItemGroupTaskMetadataInstance> metadata2 = Helpers.MakeList(items[1].Metadata); 236List<ProjectItemGroupTaskMetadataInstance> metadata3 = Helpers.MakeList(items[2].Metadata);
Instance\ProjectItemGroupTaskItemInstance_Internal_Tests.cs (3)
25new List<ProjectItemGroupTaskMetadataInstance>() 30new List<ProjectItemGroupTaskMetadataInstance> 41public void ProjectItemGroupTaskItemInstanceCanSerializeViaTranslator(List<ProjectItemGroupTaskMetadataInstance> metadata)
TestComparers\ProjectInstanceModelTestComparers.cs (4)
205public class TargetItemMetadataComparer : IEqualityComparer<ProjectItemGroupTaskMetadataInstance> 207public bool Equals(ProjectItemGroupTaskMetadataInstance x, ProjectItemGroupTaskMetadataInstance y) 218public int GetHashCode(ProjectItemGroupTaskMetadataInstance obj)
TestData\ProjectInstanceTestObjects.cs (3)
28public static ProjectItemGroupTaskItemInstance CreateTargetItem(int? counter = null, List<ProjectItemGroupTaskMetadataInstance> metadata = null) 30metadata ??= new List<ProjectItemGroupTaskMetadataInstance>(); 57public static ProjectItemGroupTaskMetadataInstance CreateTargetItemMetadata(int? counter = null)