Explicitly remove code model elements from the CleanableWeakComHandleTable when they are deleted
There are WinForms scenarios where code model elements can be deleted and re-added, for example, when the modifiers of a control on the designer surface are changed the control will be deleted and immediately re-added. We must be sure to delete the element's node key from the CleanableWeakComHandleTable or else an exception will be thrown when the element is re-added with the same node key.
Showing
想要评论请 注册 或 登录