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