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