7 writes to Manifests
dotnet (4)
Commands\Workload\Install\FileBasedInstaller.cs (2)
571
UpdateInstallState(sdkFeatureBand, contents => contents.
Manifests
= null);
576
UpdateInstallState(sdkFeatureBand, contents => contents.
Manifests
= manifestContents);
Commands\Workload\Install\MsiInstallerBase.cs (2)
565
installStateContents.
Manifests
= null;
597
installStateContents.
Manifests
= manifestContents;
dotnet.Tests (3)
CommandTests\Workload\Install\MockPackWorkloadInstaller.cs (2)
224
installStateContents.
Manifests
= null;
234
installStateContents.
Manifests
= manifestContents;
CommandTests\Workload\Update\GivenDotnetWorkloadUpdate.cs (1)
249
oldInstallState.
Manifests
= new Dictionary<string, string>()
23 references to Manifests
dotnet (16)
Commands\Workload\Install\MsiInstallerBase.cs (4)
548
if (installStateContents.
Manifests
== null)
585
if (installStateContents.
Manifests
!= null && // manifestContents should not be null here
586
installStateContents.
Manifests
.Count == manifestContents.Count &&
587
installStateContents.
Manifests
.All(m => manifestContents.TryGetValue(m.Key, out var val) && val.Equals(m.Value)))
Commands\Workload\Install\WorkloadInstallCommand.cs (1)
230
(installState.
Manifests
!= null || installState.WorkloadVersion != null))
Commands\Workload\InstallingWorkloadCommand.cs (11)
332
if (currentInstallState.
Manifests
== null && oldInstallState.
Manifests
!= null ||
333
currentInstallState.
Manifests
!= null && oldInstallState.
Manifests
== null ||
334
currentInstallState.
Manifests
!= null && oldInstallState.
Manifests
!= null &&
335
(currentInstallState.
Manifests
.Count != oldInstallState.
Manifests
.Count ||
336
!currentInstallState.
Manifests
.All(m => oldInstallState.
Manifests
.TryGetValue(m.Key, out var val) && val.Equals(m.Value))))
338
_workloadInstaller.SaveInstallStateManifestVersions(_sdkFeatureBand, oldInstallState.
Manifests
);
dotnet.Tests (7)
CommandTests\Workload\Install\GivenFileBasedWorkloadInstall.cs (6)
41
installState.
Manifests
.Should().BeNull();
51
installState.
Manifests
.Count.Should().Be(2);
52
installState.
Manifests
["first"].Should().Be("second");
53
installState.
Manifests
["third"].Should().Be("fourth");
59
installState.
Manifests
.Count.Should().Be(2);
63
installState.
Manifests
.Should().BeNull();
CommandTests\Workload\Update\GivenDotnetWorkloadUpdate.cs (1)
258
newInstallState.
Manifests
.Should().BeNull();