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)
71Assert.Null(items[0].GetMetadata("m")); 74Assert.Equal("m1", items[1].GetMetadata("m").EvaluatedValue); 435Assert.Null(projAInstanceItem.GetMetadata(CapturedMetadataName)); 439Assert.Null(projAInstanceItem.GetMetadata("Identity")); 477Assert.Null(projAInstanceItem.GetMetadata(CapturedMetadataName)); 481Assert.Null(projAInstanceItem.GetMetadata("Identity"));
Instance\ProjectItemInstance_Tests.cs (7)
100Assert.Equal("m1", item.GetMetadata("m1").Name); 101Assert.Equal("m2", item.GetMetadata("m2").Name); 120Assert.Equal("m1", item.GetMetadata("m1").Name); 121Assert.Equal("m2", item.GetMetadata("m2").Name); 156Assert.Null(item.GetMetadata("X")); 488Assert.Equal(itemMetadata[0], item.GetMetadata("m1")); 489Assert.Equal(itemMetadata[1], item.GetMetadata("m2"));
Microsoft.Build.Engine.UnitTests (1)
Graph\GraphTestingUtilities.cs (1)
61edge.GetMetadata("Properties").EvaluatedValue.ShouldBe(expectedPropertiesMetadata);