17 references to Metadata
Microsoft.Build (5)
Definition\ProjectItem.cs (2)
339
foreach (ProjectMetadata metadataFromDefinition in itemDefinition.
Metadata
)
351
foreach (ProjectMetadata metadatum in _inheritedItemDefinitions[i].
Metadata
)
Instance\ProjectInstance.cs (1)
974
if (projectItemDefinition.
Metadata
is IDictionary<string, ProjectMetadata> linkedMetadataDict)
Instance\ProjectItemDefinitionInstance.cs (1)
62
IEnumerable<ProjectMetadataInstance> projectMetadataInstances = itemDefinition.
Metadata
.Select(originalMetadata => new ProjectMetadataInstance(originalMetadata));
ObjectModelRemoting\DefinitionObjectsLinks\ProjectItemDefinitionLink.cs (1)
28
/// Facilitate remoting the <see cref="ProjectItemDefinition.
Metadata
"/> and <see cref="ProjectItemDefinition.MetadataCount"/>.
Microsoft.Build.Engine.OM.UnitTests (6)
Definition\ProjectItemDefinition_Tests.cs (2)
84
IEnumerable<ProjectMetadata> metadataCollection = itemDefinition.
Metadata
;
104
IEnumerable<ProjectMetadata> metadataCollection = project.ItemDefinitions["i"].
Metadata
;
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (3)
182
Verify(view.
Metadata
, real.
Metadata
, Verify, context);
184
foreach (var rm in real.
Metadata
)
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemDefinitionLink.cs (1)
23
public ICollection<MockProjectMetadataLinkRemoter> Metadata => this.OwningCollection.ExportCollection<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.Source.
Metadata
);
Microsoft.Build.Engine.UnitTests (6)
Definition\ItemDefinitionGroup_Tests.cs (6)
45
Assert.True(ContainsMetadata(p.ItemDefinitions["Compile"].
Metadata
, "First", "1st"));
46
Assert.True(ContainsMetadata(p.ItemDefinitions["Compile"].
Metadata
, "Second", "2nd"));
73
Assert.True(ContainsMetadata(p.ItemDefinitions["Compile"].
Metadata
, "First", "1st"));
74
Assert.True(ContainsMetadata(p.ItemDefinitions["Compile"].
Metadata
, "Second", "2nd"));
75
Assert.True(ContainsMetadata(p.ItemDefinitions["Link"].
Metadata
, "Third", "3rd"));
76
Assert.True(ContainsMetadata(p.ItemDefinitions["Link"].
Metadata
, "Fourth", "4th"));