4 writes to GetLatestStableVersionFunc
Microsoft.DotNet.Build.Tasks.Packaging.Tests (4)
ValidateHarvestVersionIsLatestForReleaseTests.cs (4)
51
GetLatestStableVersionFunc
= (packageId, major, minor) => $"{major}.{minor}.3"
68
GetLatestStableVersionFunc
= (packageId, major, minor) => $"{major}.{minor}.2"
108
GetLatestStableVersionFunc
= (packageId, major, minor) => string.Empty
141
GetLatestStableVersionFunc
= (packageId, major, minor) => string.Empty
1 reference to GetLatestStableVersionFunc
Microsoft.DotNet.Build.Tasks.Packaging.Tests (1)
ValidateHarvestVersionIsLatestForReleaseTests.cs (1)
157
protected override string GetLatestStableVersionForPackageRelease(string packageId, int majorVersion, int minorVersion) =>
GetLatestStableVersionFunc
(packageId, majorVersion, minorVersion);