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