4 writes to _metadata
Microsoft.Build (4)
Instance\ProjectItemDefinitionInstance.cs (4)
65
_metadata
= copyOnWriteMetadataDictionary;
77
_metadata
= metadata;
199
_metadata
??= new CopyOnWritePropertyDictionary<ProjectMetadataInstance>();
226
translator.TranslateDictionary(ref
_metadata
, ProjectMetadataInstance.FactoryForDeserialization, CreateMetadataCollection);
8 references to _metadata
Microsoft.Build (8)
Instance\ProjectItemDefinitionInstance.cs (8)
105
if (
_metadata
== null)
110
return new ReadOnlyCollection<ProjectMetadataInstance>(
_metadata
.Values);
119
get { return (
_metadata
== null) ? 0 :
_metadata
.Count; }
125
public IEnumerable<string> MetadataNames =>
_metadata
== null ? [] : _metadata.Keys;
144
return
_metadata
?[name];
202
_metadata
[xml.Name] = metadatum;
214
foreach (var kvp in
_metadata
)