4 instantiations of PackageReport
Microsoft.DotNet.Build.Tasks.Packaging (1)
GeneratePackageReport.cs (1)
83
var report = new
PackageReport
()
Microsoft.DotNet.Build.Tasks.Packaging.Tests (3)
ValidateHarvestVersionIsLatestForReleaseTests.cs (3)
19
private PackageReport _testPackageReport = new
PackageReport
()
84
PackageReportFunc = (path) => new
PackageReport
()
124
PackageReportFunc = (path) => new
PackageReport
()
18 references to PackageReport
Microsoft.DotNet.Build.Tasks.Packaging (15)
GeneratePackageReport.cs (1)
83
var
report = new PackageReport()
GetApplicableAssetsFromPackageReports.cs (2)
73
var
report =
PackageReport
.Load(reportPath);
GetLayoutFiles.cs (2)
58
var
packageReport =
PackageReport
.Load(packageReportFile);
GetSupportedPackagesFromPackageReports.cs (2)
27
var
report =
PackageReport
.Load(packageReport);
PackageReport.cs (2)
53
public static
PackageReport
Load(string path)
61
return serializer.Deserialize<
PackageReport
>(jsonTextReader);
ValidateHarvestVersionIsLatestForRelease.cs (4)
35
PackageReport
packageReport = GetPackageReportFromPath(packageReportPath);
63
protected virtual
PackageReport
GetPackageReportFromPath(string path)
65
return
PackageReport
.Load(path);
68
private bool TryGetHarvestVersionFromReport(
PackageReport
report, out string harvestVersion, out int harvestMajor, out int harvestMinor)
ValidationTask.cs (2)
49
protected
PackageReport
_report;
146
_report =
PackageReport
.Load(ReportFile);
Microsoft.DotNet.Build.Tasks.Packaging.Tests (3)
ValidateHarvestVersionIsLatestForReleaseTests.cs (3)
19
private
PackageReport
_testPackageReport = new PackageReport()
152
public Func<string,
PackageReport
> PackageReportFunc { get; set; }
155
protected override
PackageReport
GetPackageReportFromPath(string path) => PackageReportFunc(path);