13 references to MetadataCollection
Microsoft.Build (12)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1405
newItem.SetMetadata(outputAsProjectItem.
MetadataCollection
); // copy-on-write!
Instance\ProjectItemInstance.cs (11)
255
get { return _taskItem.
MetadataCollection
; }
947
ICopyOnWritePropertyDictionary<ProjectMetadataInstance> metadataCollection =
MetadataCollection
;
1058
var list = _itemDefinitions != null ?
MetadataCollection
: _directMetadata;
1195
IEnumerable<ProjectMetadataInstance> IItem<ProjectMetadataInstance>.Metadata =>
MetadataCollection
;
1455
IEnumerable<ProjectMetadataInstance> metadataEnumerable =
MetadataCollection
;
1473
foreach (ProjectMetadataInstance metadatum in (IEnumerable<ProjectMetadataInstance>)
MetadataCollection
)
1502
var metadata =
MetadataCollection
;
1522
foreach (ProjectMetadataInstance metadatum in (IEnumerable<ProjectMetadataInstance>)
MetadataCollection
)
1653
ICopyOnWritePropertyDictionary<ProjectMetadataInstance> otherMetadata = other.
MetadataCollection
;
1770
ICopyOnWritePropertyDictionary<ProjectMetadataInstance> temp =
MetadataCollection
;
1974
public readonly MetadataNamesEnumerator GetEnumerator() => new MetadataNamesEnumerator(_item.
MetadataCollection
);
Microsoft.Build.Engine.UnitTests (1)
Instance\TaskItem_Tests.cs (1)
195
ICopyOnWritePropertyDictionary<ProjectMetadataInstance> metadata = item.
MetadataCollection
;