7 implementations of HasCustomMetadata
Microsoft.Build (3)
Instance\ProjectItemInstance.cs (2)
270public bool HasCustomMetadata => _taskItem.HasCustomMetadata; 1105public bool HasCustomMetadata => _directMetadata?.Count > 0 || _itemDefinitions?.Count > 0;
TaskParameter.cs (1)
687public bool HasCustomMetadata => _customEscapedMetadata?.Count > 0;
Microsoft.Build.Framework (1)
TaskItemData.cs (1)
52bool IMetadataContainer.HasCustomMetadata => Metadata.Count > 0;
Microsoft.Build.Tasks.Core (1)
TaskParameter.cs (1)
687public bool HasCustomMetadata => _customEscapedMetadata?.Count > 0;
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
249bool IMetadataContainer.HasCustomMetadata => _metadata?.Count > 0;
MSBuild (1)
TaskParameter.cs (1)
687public bool HasCustomMetadata => _customEscapedMetadata?.Count > 0;
4 references to HasCustomMetadata
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\Lookup.cs (1)
925if (modificationsToApply.KeepOnlySpecified && metadataContainer.HasCustomMetadata)
Instance\ProjectItemInstance.cs (1)
1584if (destinationItemAsMetadataContainer.HasCustomMetadata)
Microsoft.Build.Utilities.Core (2)
TaskItem.cs (2)
356if (!destinationAsMetadataContainer.HasCustomMetadata) 380if (destinationAsMetadataContainer.HasCustomMetadata)