public override AttributesToSave GetAttributesToSave(ISystemContext context) { AttributesToSave attributesToSave = base.GetAttributesToSave(context); if (m_executable) { attributesToSave |= AttributesToSave.Executable; } if (m_userExecutable) { attributesToSave |= AttributesToSave.UserExecutable; } return attributesToSave; }