3 writes to PackageIdentity
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\Usage.cs (2)
40PackageIdentity = XmlParsingHelpers.ParsePackageIdentity(xml), 57PackageIdentity = identity,
Microsoft.DotNet.SourceBuild.Tasks.Tests (1)
ValidateUsageAgainstBaselineTests.cs (1)
22PackageIdentity = new PackageIdentity(parts[0], NuGetVersion.Parse(parts[1]))
18 references to PackageIdentity
Microsoft.DotNet.SourceBuild.Tasks (16)
src\UsageReport\Usage.cs (10)
32PackageIdentity.ToXElement().Attributes(), 72if (PackageIdentity.Id.StartsWith(prefix, StringComparison.Ordinal)) 75PackageIdentity.Id 78PackageIdentity.Version); 81return PackageIdentity; 85$"{PackageIdentity.Id} {PackageIdentity.Version} " + 100Equals(PackageIdentity, other.PackageIdentity) && 106PackageIdentity,
src\UsageReport\UsageData.cs (1)
39.OrderBy(u => u.PackageIdentity)
src\UsageReport\ValidateUsageAgainstBaseline.cs (2)
169string id = $"{usage.PackageIdentity.Id}/{usage.PackageIdentity.Version}";
src\UsageReport\WritePackageUsageData.cs (1)
227toCheck.Except(usages.Select(u => u.PackageIdentity)))
src\UsageReport\WriteUsageReports.cs (2)
112string id = usage.PackageIdentity.Id; 113string version = usage.PackageIdentity.Version.OriginalVersion;
Microsoft.DotNet.SourceBuild.Tasks.Tests (2)
ValidateUsageAgainstBaselineTests.cs (2)
86baseline.Usages.Skip(1).Select(u => u.PackageIdentity).ToArray(), 87data.ActualUsageData.Usages.Select(u => u.PackageIdentity).ToArray());