I tried to Encapsulate m_variable using VA 1849 and it worked for me. What Visual Assist version are you using? I guess the problem is caused by the removed macro. If you could post that line you had removed and the source of the MACRO it may help. If you don't want to post it publicly you can send it to us and we will keep it private: