internal void RemoveConstCast()
        {
            ConstCastHolder ch = m__parent as ConstCastHolder;

            if (m_ptr != IntPtr.Zero && ch != null)
            {
                m__parent = ch.m_oldparent;
                m_ptr     = IntPtr.Zero;
            }
        }
 internal void ApplyConstCast()
 {
     if (m_ptr == IntPtr.Zero && m__parent != null)
     {
         IntPtr          const_ptr_this = ConstPointer();
         ConstCastHolder ch             = new ConstCastHolder(this, m__parent);
         m__parent = ch;
         m_ptr     = const_ptr_this;
     }
 }