Exemple #1
0
 internal MDbgModule(MDbgProcess process, CorDebug.CorModule managedModule, int number)
 {
     Debug.Assert(process != null && managedModule != null);
     m_process   = process;
     m_module    = managedModule;
     m_functions = new MDbgFunctionMgr(this);
     m_number    = number;
 }
Exemple #2
0
        /// <summary>
        /// Releases all resources used by the MDbgModule.
        /// </summary>
        public void Dispose()
        {
            // Our funtion list may hold onto unmanaged SymbolMethod objects, so dispose that too.
            m_functions.Dispose();
            m_functions = null;

            // Release unmanaged resources.
            m_symReader = null;
            m_module    = null;
            m_importer  = null;
        }
Exemple #3
0
        /// <summary>
        /// Releases all resources used by the MDbgModule.
        /// </summary>
        public void Dispose()
        {
            // Our funtion list may hold onto unmanaged SymbolMethod objects, so dispose that too.
            m_functions.Dispose();
            m_functions = null;

            // Release unmanaged resources.
            m_symReader = null;
            m_module = null;
            m_importer = null;
        }
Exemple #4
0
 internal MDbgModule(MDbgProcess process, CorDebug.CorModule managedModule, int number)
 {
     Debug.Assert(process != null && managedModule != null);
     m_process = process;
     m_module = managedModule;
     m_functions = new MDbgFunctionMgr(this);
     m_number = number;
 }