1 write to NewVersion
dotnet.Tests (1)
CommandTests\Workload\Install\TestManifestUpdate.cs (1)
17
NewVersion
= newVersion;
13 references to NewVersion
dotnet.Tests (13)
CommandTests\Workload\Install\GivenWorkloadManifestUpdater.cs (2)
115
File.WriteAllText(Path.Combine(adManifestDir, manifestUpdate.ManifestId.ToString(), _manifestFileName), GetManifestContent(manifestUpdate.
NewVersion
));
168
File.WriteAllText(Path.Combine(AdManifestPath, _manifestFileName), GetManifestContent(manifestUpdate.
NewVersion
));
CommandTests\Workload\Install\TestManifestUpdate.cs (11)
50
if (
NewVersion
== null && other.
NewVersion
!= null) return -1;
51
if (
NewVersion
!= null && other.
NewVersion
== null) return 1;
52
if (
NewVersion
!= null)
54
ret =
NewVersion
.CompareTo(other.
NewVersion
);
67
EqualityComparer<ManifestVersion>.Default.Equals(
NewVersion
, other.
NewVersion
) &&
79
return HashCode.Combine(ManifestId, ExistingVersion, ExistingFeatureBand,
NewVersion
, NewFeatureBand);
93
return new(ManifestId,
NewVersion
, NewFeatureBand);