12 references to MetadataCollection
Microsoft.Build (11)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1397newItem.SetMetadata(outputAsProjectItem.MetadataCollection); // copy-on-write!
Instance\ProjectItemInstance.cs (10)
255get { return _taskItem.MetadataCollection; } 945ICopyOnWritePropertyDictionary<ProjectMetadataInstance> metadataCollection = MetadataCollection; 1054var list = _itemDefinitions != null ? MetadataCollection : _directMetadata; 1189IEnumerable<ProjectMetadataInstance> IItem<ProjectMetadataInstance>.Metadata => MetadataCollection; 1449IEnumerable<ProjectMetadataInstance> metadataEnumerable = MetadataCollection; 1467foreach (ProjectMetadataInstance metadatum in (IEnumerable<ProjectMetadataInstance>)MetadataCollection) 1496var metadata = MetadataCollection; 1516foreach (ProjectMetadataInstance metadatum in (IEnumerable<ProjectMetadataInstance>)MetadataCollection) 1647ICopyOnWritePropertyDictionary<ProjectMetadataInstance> otherMetadata = other.MetadataCollection; 1764ICopyOnWritePropertyDictionary<ProjectMetadataInstance> temp = MetadataCollection;
Microsoft.Build.Engine.UnitTests (1)
Instance\TaskItem_Tests.cs (1)
197ICopyOnWritePropertyDictionary<ProjectMetadataInstance> metadata = item.MetadataCollection;