1 write to Metadata
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
326destinationAsTaskItem.Metadata = copiedMetadata;
5 references to Metadata
Microsoft.Build.Utilities.Core (5)
TaskItem.cs (5)
312if (destinationAsTaskItem.Metadata == null) 316else if (destinationAsTaskItem.Metadata.Count < _metadata.Count) 319copiedMetadata.SetItems(destinationAsTaskItem.Metadata.Where(entry => !String.IsNullOrEmpty(entry.Value))); 323copiedMetadata = destinationAsTaskItem.Metadata.Clone(); 324copiedMetadata.SetItems(_metadata.Where(entry => !destinationAsTaskItem.Metadata.TryGetValue(entry.Key, out string val) || String.IsNullOrEmpty(val)));