Implemented interface member:
method
GetMetadata
Microsoft.Build.Evaluation.IItem<M>.GetMetadata(System.String)
14 references to GetMetadata
Microsoft.Build.Engine.OM.UnitTests (13)
Instance\ProjectInstance_Tests.cs (6)
71
Assert.Null(items[0].
GetMetadata
("m"));
74
Assert.Equal("m1", items[1].
GetMetadata
("m").EvaluatedValue);
435
Assert.Null(projAInstanceItem.
GetMetadata
(CapturedMetadataName));
439
Assert.Null(projAInstanceItem.
GetMetadata
("Identity"));
477
Assert.Null(projAInstanceItem.
GetMetadata
(CapturedMetadataName));
481
Assert.Null(projAInstanceItem.
GetMetadata
("Identity"));
Instance\ProjectItemInstance_Tests.cs (7)
100
Assert.Equal("m1", item.
GetMetadata
("m1").Name);
101
Assert.Equal("m2", item.
GetMetadata
("m2").Name);
120
Assert.Equal("m1", item.
GetMetadata
("m1").Name);
121
Assert.Equal("m2", item.
GetMetadata
("m2").Name);
156
Assert.Null(item.
GetMetadata
("X"));
488
Assert.Equal(itemMetadata[0], item.
GetMetadata
("m1"));
489
Assert.Equal(itemMetadata[1], item.
GetMetadata
("m2"));
Microsoft.Build.Engine.UnitTests (1)
Graph\GraphTestingUtilities.cs (1)
61
edge.
GetMetadata
("Properties").EvaluatedValue.ShouldBe(expectedPropertiesMetadata);