No person elected or appointed to any office, civil or military, shall enter into the office, exercise any of the authority or discharge any of the duties pertaining thereto, or receive any compensation therefor, before taking the oath of office: Provided, That this section shall not apply to members of the Legislature of this state.
W. Va. Code § 6-1-7