6 writes to _currentState
dotnet-MsiInstallation.Tests (6)
Framework\VirtualMachine.cs (6)
118
_currentState
= _vmState.GetRootState();
181
_currentState
= state;
203
_currentState
= newState;
303
_currentState
= result.resultingState;
336
_currentState
= resultingState;
596
_vm.
_currentState
= _snapshot;
9 references to _currentState
dotnet-MsiInstallation.Tests (9)
Framework\VirtualMachine.cs (9)
261
return new VMSnapshot(this,
_currentState
);
266
if (_currentAppliedState !=
_currentState
)
268
VMControl.ApplySnapshotAsync(
_currentState
.SnapshotId).Wait();
269
_currentAppliedState =
_currentState
;
293
if (
_currentState
.ReadOnlyActions.TryGetValue(action, out var readOnlyResult))
301
if (
_currentState
.Actions.TryGetValue(action, out var result))
317
VMControl.ApplySnapshotAsync(
_currentState
.SnapshotId).Wait();
320
_currentState
.ReadOnlyActions[action] = actionResult;
335
_currentState
.Actions[action] = (actionResult, resultingState);