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