28 references to Metadata
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
1356
foreach (ProjectMetadataElement metadataElement in itemDefinitionElement.
Metadata
)
Microsoft.Build.Engine.OM.UnitTests (25)
Construction\ProjectItemDefinitionElement_Tests.cs (5)
39
Assert.Equal(0, Helpers.Count(itemDefinition.
Metadata
));
64
Assert.Equal(1, Helpers.Count(definition.
Metadata
));
65
Assert.Equal("m1", Helpers.GetFirst(definition.
Metadata
).Name);
66
Assert.Equal("v1", Helpers.GetFirst(definition.
Metadata
).Value);
112
var metadata = Helpers.MakeList(itemDefinition.
Metadata
);
Construction\ProjectMetadataElement_Tests.cs (14)
459
Assert.Single(itemDefinitions[0].
Metadata
);
461
var metadata = itemDefinitions[0].
Metadata
.First();
518
Assert.Single(itemDefinitions[0].
Metadata
);
520
var metadata = itemDefinitions[0].
Metadata
.First();
613
Assert.Single(itemDefinitions[0].
Metadata
);
615
var metadata = itemDefinitions[0].
Metadata
.First();
730
Assert.Single(itemDefinitions[0].
Metadata
);
732
var metadata = itemDefinitions[0].
Metadata
.First();
879
Assert.Single(itemDefinitions[0].
Metadata
);
881
var metadata = itemDefinitions[0].
Metadata
.First();
991
Assert.Single(itemDefinitions[0].
Metadata
);
993
var metadata = itemDefinitions[0].
Metadata
.First();
1103
Assert.Empty(itemDefinitions[0].
Metadata
);
1221
Assert.Empty(itemDefinitions[0].
Metadata
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
869
ViewValidation.Verify(viewXml.
Metadata
, realXml.
Metadata
, ViewValidation.Verify, context);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (4)
614
Assert.Empty(itemDef.View.
Metadata
);
617
Assert.Equal(2, itemDef.View.
Metadata
.Count);
619
Assert.Equal(4, itemDef.View.
Metadata
.Count);
622
Assert.Equal(6, itemDef.View.
Metadata
.Count);
Microsoft.Build.Engine.UnitTests (2)
Evaluation\Evaluator_Tests.cs (2)
1532
ProjectMetadataElement xml1 = project.Xml.ItemDefinitions.ElementAt(0).
Metadata
.ElementAt(0);
1592
ProjectMetadataElement xml1 = project.Xml.ItemDefinitions.ElementAt(0).
Metadata
.ElementAt(0);