3 writes to _metadata
Microsoft.Build (3)
Definition\ProjectItemDefinition.cs (3)
63_metadata = null; 177_metadata ??= new PropertyDictionary<ProjectMetadata>(); 196_metadata ??= new PropertyDictionary<ProjectMetadata>();
9 references to _metadata
Microsoft.Build (9)
Definition\ProjectItemDefinition.cs (9)
97public IEnumerable<ProjectMetadata> Metadata => Link != null ? Link.Metadata : _metadata ?? []; 104get { return Link != null ? Link.Metadata.Count : (_metadata == null) ? 0 : _metadata.Count; } 123return Link != null ? Link.GetMetadata(name) : _metadata?[name]; 159if (_metadata != null) 161metadatum = _metadata[name]; 183_metadata.Set(metadatum); 199_metadata.Set(metadatum); 237if (_metadata == null)