13 references to MetadataNames
Microsoft.Build (4)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (2)
489
var metadataToRemove = item.
MetadataNames
.Where(name => !keepMetadata.Contains(name));
500
var metadataToRemove = item.
MetadataNames
.Where(name => removeMetadata.Contains(name));
Instance\ProjectInstance.cs (1)
830
foreach (var metadataName in filteredItem.
MetadataNames
)
Instance\ProjectItemInstance.cs (1)
317
get { return new List<string>(
MetadataNames
); }
Microsoft.Build.Engine.OM.UnitTests (8)
Instance\ProjectInstance_Tests.cs (6)
443
Assert.Contains(CapturedMetadataName, projAInstanceItem.
MetadataNames
);
444
Assert.Equal(projAInstanceItem.MetadataCount, projAInstanceItem.
MetadataNames
.Count);
485
Assert.Contains(CapturedMetadataName, projAInstanceItem.
MetadataNames
);
486
Assert.Equal(projAInstanceItem.MetadataCount, projAInstanceItem.
MetadataNames
.Count);
520
Assert.Contains(CapturedMetadataName, projAInstanceItem.
MetadataNames
);
521
Assert.Equal(projAInstanceItem.MetadataCount, projAInstanceItem.
MetadataNames
.Count);
Instance\ProjectItemInstance_Tests.cs (2)
455
Assert.Equal(0 + BuiltInMetadataCount, Helpers.MakeList(item.
MetadataNames
).Count);
558
Assert.Equal(3 + BuiltInMetadataCount, Helpers.MakeList(item.
MetadataNames
).Count);
MSBuild (1)
JsonOutputFormatter.cs (1)
63
foreach (string metadatumName in item.
MetadataNames
)