public IEditableSettings StartSettingTransaction() { string path = SettingsPath; VirtualFile file = fileSystem.GetFile(path); if (!file.CheckAccess()) { throw new SettingsReadOnlyException(); } return(new EditableSettings(SaveSettings, this)); }