示例#1
0
 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);
 }
示例#2
0
		internal static void RemapToken(ISymbolWriterImpl writer, int oldToken, int newToken)
		{
			writer.RemapToken(oldToken, newToken);
		}
示例#3
0
		internal static byte[] GetDebugInfo(ISymbolWriterImpl writer, ref IMAGE_DEBUG_DIRECTORY idd)
		{
			return writer.GetDebugInfo(ref idd);
		}
示例#4
0
 internal static void RemapToken(ISymbolWriterImpl writer, int oldToken, int newToken)
 {
     writer.RemapToken(oldToken, newToken);
 }
示例#5
0
 internal static byte[] GetDebugInfo(ISymbolWriterImpl writer, ref IMAGE_DEBUG_DIRECTORY idd)
 {
     return(writer.GetDebugInfo(ref idd));
 }