12 references to VersionTranslation
Microsoft.DotNet.NuGetRepack.Tasks (12)
src\NuGetVersionUpdater.cs (7)
59
VersionTranslation
translation,
100
private static void LoadPackages(IEnumerable<string> packagePaths, Dictionary<string, PackageInfo> packages, string tempDirectoryOpt,
VersionTranslation
translation)
182
case
VersionTranslation
.Release:
188
case
VersionTranslation
.PreRelease:
207
case
VersionTranslation
.None:
283
private static void UpdateDependencies(Dictionary<string, PackageInfo> packages,
VersionTranslation
translation, bool exactVersions, Func<string, string, string, bool> allowPreReleaseDependencyOpt)
335
else if (translation ==
VersionTranslation
.Release && (versionRange.MinVersion?.IsPrerelease == true || versionRange.MaxVersion?.IsPrerelease == true))
src\UpdatePackageVersionTask.cs (5)
54
VersionTranslation
translation;
57
translation =
VersionTranslation
.None;
61
translation =
VersionTranslation
.Release;
65
translation =
VersionTranslation
.PreRelease;
89
if (translation ==
VersionTranslation
.Release)