6 implementations of IMetadataContainer
Microsoft.Build (3)
Instance\ProjectItemInstance.cs (2)
39IMetadataContainer, 759IMetadataContainer
TaskParameter.cs (1)
729, IMetadataContainer
Microsoft.Build.Framework (1)
TaskItemData.cs (1)
17internal class TaskItemData : ITaskItem, IMetadataContainer
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
37IMetadataContainer // expose direct underlying metadata for fast access in binary logger
MSBuild (1)
TaskParameter.cs (1)
729, IMetadataContainer
15 references to IMetadataContainer
Microsoft.Build (5)
Instance\ProjectItemInstance.cs (4)
307IEnumerable<KeyValuePair<string, string>> IItemData.EnumerateMetadata() => ((IMetadataContainer)this).EnumerateMetadata(); 538IEnumerable<KeyValuePair<string, string>> IMetadataContainer.EnumerateMetadata() => _taskItem.EnumerateMetadata(); 540void IMetadataContainer.ImportMetadata(IEnumerable<KeyValuePair<string, string>> metadata) => _taskItem.ImportMetadata(metadata); 1446else if (destinationItem is IMetadataContainer destinationItemAsMetadataContainer)
Logging\BaseConsoleLogger.cs (1)
633IMetadataContainer metadataContainer => metadataContainer.EnumerateMetadata(),
Microsoft.Build.Engine.OM.UnitTests (2)
Instance\ProjectItemInstance_Tests.cs (2)
114((IMetadataContainer)item).ImportMetadata(new Dictionary<string, string> 137((IMetadataContainer)item).ImportMetadata(new Dictionary<string, string>
Microsoft.Build.Framework (3)
ITaskItemExtensions.cs (1)
24if (taskItem is IMetadataContainer container)
TaskItemData.cs (2)
50IEnumerable<KeyValuePair<string, string>> IMetadataContainer.EnumerateMetadata() => Metadata; 52void IMetadataContainer.ImportMetadata(IEnumerable<KeyValuePair<string, string>> metadata)
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\ReferenceTable.cs (1)
2677IMetadataContainer referenceItemAsMetadataContainer = referenceItem;
Microsoft.Build.Utilities.Core (2)
TaskItem.cs (2)
472IEnumerable<KeyValuePair<string, string>> IMetadataContainer.EnumerateMetadata() 488void IMetadataContainer.ImportMetadata(IEnumerable<KeyValuePair<string, string>> metadata)
Microsoft.Build.Utilities.UnitTests (2)
TaskItem_Tests.cs (2)
337IMetadataContainer metadataContainer = (IMetadataContainer)item;