13 references to MetadataCollection
Microsoft.Build (12)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1463
newItem.SetMetadata(outputAsProjectItem.
MetadataCollection
); // copy-on-write!
Instance\ProjectItemInstance.cs (11)
972
ImmutableDictionary<string, string> metadataCollection =
MetadataCollection
;
1113
var list = _itemDefinitions != null ?
MetadataCollection
: DirectMetadata;
1257
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1267
public SerializableMetadata BackingMetadata => new(
MetadataCollection
);
1533
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1565
IEnumerable<KeyValuePair<string, string>> metadataToImport =
MetadataCollection
;
1608
var metadata =
MetadataCollection
;
1628
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1758
ImmutableDictionary<string, string> otherMetadata = other.
MetadataCollection
;
1875
ImmutableDictionary<string, string> temp =
MetadataCollection
;
2137
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
;