internal ModuleBuilder(AssemblyBuilder asm, string moduleName, string fileName, bool emitSymbolInfo) : base(asm.universe) { this.asm = asm; this.moduleName = moduleName; this.fileName = fileName; if (emitSymbolInfo) { symbolWriter = SymbolSupport.CreateSymbolWriterFor(this); } // <Module> must be the first record in the TypeDef table moduleType = new TypeBuilder(this, "<Module>", null, 0); types.Add(moduleType); }
internal static void RemapToken(ISymbolWriterImpl writer, int oldToken, int newToken) { writer.RemapToken(oldToken, newToken); }
internal static byte[] GetDebugInfo(ISymbolWriterImpl writer, ref IMAGE_DEBUG_DIRECTORY idd) { return writer.GetDebugInfo(ref idd); }
internal static byte[] GetDebugInfo(ISymbolWriterImpl writer, ref IMAGE_DEBUG_DIRECTORY idd) { return(writer.GetDebugInfo(ref idd)); }