5 writes to _directMetadata
Microsoft.Build (5)
Definition\ProjectItem.cs (5)
141
_directMetadata
= directMetadataCloned;
536
_directMetadata
??= new PropertyDictionary<ProjectMetadata>();
613
_directMetadata
??= new PropertyDictionary<ProjectMetadata>();
622
siblingItem.
_directMetadata
??= new PropertyDictionary<ProjectMetadata>();
844
_directMetadata
= new PropertyDictionary<ProjectMetadata>(_directMetadata.Count);
23 references to _directMetadata
Microsoft.Build (23)
Definition\ProjectItem.cs (23)
265
get { return Link != null ? Link.DirectMetadata : (IEnumerable<ProjectMetadata>)
_directMetadata
?? (IEnumerable<ProjectMetadata>)ReadOnlyEmptyCollection<ProjectMetadata>.Instance; }
277
{ return Link != null ? Link.DirectMetadata.Count :
_directMetadata
!= null ?
_directMetadata
.Count : 0; }
359
if (
_directMetadata
!= null)
361
foreach (ProjectMetadata metadatum in
_directMetadata
)
419
if (
_directMetadata
!= null)
421
result =
_directMetadata
[name];
456
if (
_directMetadata
?.Contains(name) == true)
485
if (
_directMetadata
!= null)
487
ProjectMetadata metadatum =
_directMetadata
[name];
542
_directMetadata
.Set(metadatum);
597
if (
_directMetadata
?.Contains(name) == true)
599
metadatum =
_directMetadata
[name];
614
_directMetadata
.Set(metadatum);
623
siblingItem.
_directMetadata
.Set(metadatum.DeepClone());
648
ProjectMetadata metadatum =
_directMetadata
?[name];
660
metadatum =
_directMetadata
[name];
663
_directMetadata
.Remove(name);
829
if (
_directMetadata
== null)
837
List<ProjectMetadata> temporary = new List<ProjectMetadata>(
_directMetadata
.Count);
839
foreach (ProjectMetadata metadatum in
_directMetadata
)
844
_directMetadata = new PropertyDictionary<ProjectMetadata>(
_directMetadata
.Count);
1062
foreach (ProjectMetadata metadatum in source.
_directMetadata
)