1 write to Metadata
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
343destinationAsTaskItem.Metadata = copiedMetadata;
5 references to Metadata
Microsoft.Build.Utilities.Core (5)
TaskItem.cs (5)
329if (destinationAsTaskItem.Metadata == null) 333else if (destinationAsTaskItem.Metadata.Count < _metadata.Count) 336copiedMetadata.SetItems(destinationAsTaskItem.Metadata.Where(entry => !String.IsNullOrEmpty(entry.Value))); 340copiedMetadata = destinationAsTaskItem.Metadata.Clone(); 341copiedMetadata.SetItems(_metadata.Where(entry => !destinationAsTaskItem.Metadata.TryGetValue(entry.Key, out string val) || String.IsNullOrEmpty(val)));