3 writes to _metadata
Microsoft.Build (3)
Definition\ProjectItemDefinition.cs (3)
62_metadata = null; 176_metadata ??= new PropertyDictionary<ProjectMetadata>(); 195_metadata ??= new PropertyDictionary<ProjectMetadata>();
9 references to _metadata
Microsoft.Build (9)
Definition\ProjectItemDefinition.cs (9)
96public IEnumerable<ProjectMetadata> Metadata => Link != null ? Link.Metadata : _metadata ?? []; 103get { return Link != null ? Link.Metadata.Count : (_metadata == null) ? 0 : _metadata.Count; } 122return Link != null ? Link.GetMetadata(name) : _metadata?[name]; 158if (_metadata != null) 160metadatum = _metadata[name]; 182_metadata.Set(metadatum); 198_metadata.Set(metadatum); 236if (_metadata == null)