Beispiel #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);
            }
        }
 [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>();
 }
Beispiel #3
0
 internal void Init(String strModuleName, String strFileName, int tkFile)
 {
     m_moduleData = new ModuleBuilderData(this, strModuleName, strFileName, tkFile); 
     m_TypeBuilderList = new List<Type>();
 }