2 references to Where
Microsoft.Build.Utilities.Core (2)
TaskItem.cs (2)
319
copiedMetadata.SetItems(destinationAsTaskItem.Metadata.
Where
(entry => !String.IsNullOrEmpty(entry.Value)));
324
copiedMetadata.SetItems(_metadata.
Where
(entry => !destinationAsTaskItem.Metadata.TryGetValue(entry.Key, out string val) || String.IsNullOrEmpty(val)));