13 references to MetadataCollection
Microsoft.Build (12)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1460
newItem.SetMetadata(outputAsProjectItem.
MetadataCollection
); // copy-on-write!
Instance\ProjectItemInstance.cs (11)
974
ImmutableDictionary<string, string> metadataCollection =
MetadataCollection
;
1115
var list = _itemDefinitions != null ?
MetadataCollection
: DirectMetadata;
1273
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1283
public SerializableMetadata BackingMetadata => new(
MetadataCollection
);
1549
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1581
IEnumerable<KeyValuePair<string, string>> metadataToImport =
MetadataCollection
;
1624
var metadata =
MetadataCollection
;
1644
foreach (KeyValuePair<string, string> metadatum in
MetadataCollection
)
1774
ImmutableDictionary<string, string> otherMetadata = other.
MetadataCollection
;
1891
ImmutableDictionary<string, string> temp =
MetadataCollection
;
2153
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
;