3 writes to _taskItem
Microsoft.Build (3)
Instance\ProjectItemInstance.cs (3)
151
_taskItem
= that._taskItem.DeepClone(newProject.IsImmutable);
595
translator.Translate(ref
_taskItem
, TaskItem.FactoryForDeserialization);
737
_taskItem
= new TaskItem(
41 references to _taskItem
Microsoft.Build (41)
Instance\ProjectItemInstance.cs (41)
151
_taskItem = that.
_taskItem
.DeepClone(newProject.IsImmutable);
198
return
_taskItem
.ItemSpec;
207
_taskItem
.ItemSpec = value;
219
{ return
_taskItem
.IncludeEscaped; }
231
return
_taskItem
.IncludeEscaped;
238
_taskItem
.IncludeEscaped = value;
255
get { return
_taskItem
.MetadataCollection; }
263
get { return
_taskItem
.DirectMetadataCount; }
285
get { return new ReadOnlyCollection<string>(
_taskItem
.MetadataNames.Cast<string>()); }
330
get { return
_taskItem
.MetadataCount; }
367
return
_taskItem
.GetMetadataObject(name);
379
return
_taskItem
.GetMetadata(name);
393
return
_taskItem
.HasMetadata(name);
404
return
_taskItem
.SetMetadataObject(name, evaluatedValue, false /* built-in metadata not allowed */);
415
_taskItem
.SetMetadata(metadataDictionary);
426
_taskItem
.RemoveMetadata(metadataName);
434
return
_taskItem
.ToString();
446
return
_taskItem
.GetMetadataEscaped(name);
481
return
_taskItem
.GetMetadataEscaped(name);
505
((ITaskItem2)
_taskItem
).SetMetadataValueLiteral(metadataName, metadataValue);
513
_taskItem
.CopyMetadataTo(destinationItem);
524
return
_taskItem
.CloneCustomMetadata();
535
return ((ITaskItem2)
_taskItem
).CloneCustomMetadataEscaped();
538
IEnumerable<KeyValuePair<string, string>> IMetadataContainer.EnumerateMetadata() =>
_taskItem
.EnumerateMetadata();
540
void IMetadataContainer.ImportMetadata(IEnumerable<KeyValuePair<string, string>> metadata) =>
_taskItem
.ImportMetadata(metadata);
550
return
_taskItem
.GetMetadataEscaped(name);
574
string value =
_taskItem
.GetMetadataEscaped(name);
613
item.
_taskItem
.SetMetadata(metadata); // Potential copy on write
635
_taskItem
.SetMetadata(metadataDictionary);
651
_taskItem
.SetMetadataOnTaskOutput(items);
853
: this(item.
_taskItem
, false /* no original itemspec */)
2032
return CreateItem(source.
_taskItem
.IncludeEscaped, source.
_taskItem
.IncludeBeforeWildcardExpansionEscaped, source, definingProject);
2068
item.
_taskItem
.SetMetadata(metadata);
2090
if (source.
_taskItem
._itemDefinitions != null)
2092
itemDefinitionsClone ??= new List<ProjectItemDefinitionInstance>(source.
_taskItem
._itemDefinitions.Count + 1);
2093
itemDefinitionsClone.AddRange(source.
_taskItem
._itemDefinitions);
2103
return new ProjectItemInstance(_project, ItemType, includeEscaped, includeBeforeWildcardExpansionEscaped, source.
_taskItem
._directMetadata, itemDefinitionsClone, definingProject, useItemDefinitionsWithoutModification: false);
2333
return x.
_taskItem
.Equals(y.
_taskItem
);
2343
return obj.
_taskItem
.GetHashCode();