13 references to MetadataCollection
Microsoft.Build (12)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1499
newItem.SetMetadata(outputAsProjectItem.
MetadataCollection
); // copy-on-write!
Instance\ProjectItemInstance.cs (11)
975
ImmutableDictionary<string, string> metadataCollection =
MetadataCollection
;
1119
var list = _itemDefinitions != null ?
MetadataCollection
: DirectMetadata;
1277
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1287
public SerializableMetadata BackingMetadata => new(
MetadataCollection
);
1553
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1585
IEnumerable<KeyValuePair<string, string>> metadataToImport =
MetadataCollection
;
1628
var metadata =
MetadataCollection
;
1648
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1778
ImmutableDictionary<string, string> otherMetadata = other.
MetadataCollection
;
1895
ImmutableDictionary<string, string> temp =
MetadataCollection
;
2150
public readonly MetadataNamesEnumerator GetEnumerator() => new MetadataNamesEnumerator(_item.
MetadataCollection
);
Microsoft.Build.Engine.UnitTests (1)
Instance\TaskItem_Tests.cs (1)
197
ImmutableDictionary<string, string> metadata = item.
MetadataCollection
;