1 write to OriginalItem
Microsoft.DotNet.Build.Tasks.Packaging (1)
PackageItem.cs (1)
17
OriginalItem
= item;
10 references to OriginalItem
Microsoft.DotNet.Build.Tasks.Packaging (10)
GetApplicableAssetsFromPackages.cs (3)
200
return SetPackageMetadata(new TaskItem(packageItem.
OriginalItem
), packageItem);
210
var pdbItem = new TaskItem(Path.ChangeExtension(packageItem.
OriginalItem
.ItemSpec, ".pdb"));
211
packageItem.
OriginalItem
.CopyMetadataTo(pdbItem);
HarvestPackage.cs (5)
393
bool.TryParse(liveFile.
OriginalItem
.GetMetadata("Preserve"), out preserve);
403
removeFiles.Add(liveFile.
OriginalItem
);
408
removeFiles.Add(livePdbFile.
OriginalItem
);
418
if (liveFile?.
OriginalItem
!= null)
421
liveFile.
OriginalItem
.CopyMetadataTo(item);
PackageItem.cs (2)
69
string versionString =
OriginalItem
.GetMetadata("AssemblyVersion");
103
var value =
OriginalItem
.GetMetadata(name);