Exemplo n.º 1
0
        internal void Init(
            String             strModuleName,
            String             strFileName,
            ISymbolWriter      writer)
        {
            m_moduleData = new ModuleBuilderData(this, strModuleName, strFileName);
            m_TypeBuilderList = new ArrayList();    
            m_iSymWriter = writer;

            if (writer != null)
            {
                // Set the underlying writer for the managed writer
                // that we're using.  Note that this function requires
                // unmanaged code access.
                new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
                writer.SetUnderlyingWriter(m_pInternalSymWriter);
            }
        }
Exemplo n.º 2
0
 [System.Security.SecurityCritical]  // auto-generated
 internal void Init(String strModuleName, String strFileName, int tkFile)
 {
     m_moduleData = new ModuleBuilderData(this, strModuleName, strFileName, tkFile);
     m_TypeBuilderDict = new Dictionary<string, Type>();
 }
Exemplo n.º 3
0
 internal void Init(String strModuleName, String strFileName, int tkFile)
 {
     m_moduleData = new ModuleBuilderData(this, strModuleName, strFileName, tkFile); 
     m_TypeBuilderList = new List<Type>();
 }