Пример #1
0
        private ICorDebugInternalFrame GetInternalFrame()
        {
            if (!m_iFrameCached)
            {
                m_iFrameCached = true;

                m_iFrame = m_frame as ICorDebugInternalFrame;
            }
            return(m_iFrame);
        }
Пример #2
0
        private ICorDebugInternalFrame GetInternalFrame()
        {
            if(!m_iFrameCached)
            {
                m_iFrameCached = true;

                m_iFrame = m_frame as ICorDebugInternalFrame;
            }
            return m_iFrame;
        }
Пример #3
0
 private ICorDebugInternalFrame GetInternalFrame()
 {
     if(!m_iFrameCached)
     {
         m_iFrameCached = true;
         try
         {
             m_iFrame = (ICorDebugInternalFrame)m_frame;
         }
         catch(InvalidCastException)
         {
             m_iFrame = null;
         }
     }
     return m_iFrame;
 }