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)
261return new VMSnapshot(this, _currentState); 266if (_currentAppliedState != _currentState) 268VMControl.ApplySnapshotAsync(_currentState.SnapshotId).Wait(); 269_currentAppliedState = _currentState; 293if (_currentState.ReadOnlyActions.TryGetValue(action, out var readOnlyResult)) 301if (_currentState.Actions.TryGetValue(action, out var result)) 317VMControl.ApplySnapshotAsync(_currentState.SnapshotId).Wait(); 320_currentState.ReadOnlyActions[action] = actionResult; 335_currentState.Actions[action] = (actionResult, resultingState);