public static IAssembly RewriteModule(IMetadataHost host, PdbReader pdbReader, IAssembly assembly, ITypeReference contractClassType, ITypeReference compilerGeneratedAttributeType, ITypeReference systemAttributeType, ITypeReference systemBooleanType, ITypeReference systemObjectType, ITypeReference systemStringType, ITypeReference systemVoidType) { var me = new AsmMetaRewriter(host, pdbReader, contractClassType, compilerGeneratedAttributeType, systemAttributeType, systemBooleanType, systemObjectType, systemStringType, systemVoidType); return me.Rewrite(assembly); }
public static IAssembly RewriteModule(IMetadataHost host, PdbReader pdbReader, IAssembly assembly, ITypeReference contractClassType, ITypeReference compilerGeneratedAttributeType, ITypeReference systemAttributeType, ITypeReference systemBooleanType, ITypeReference systemObjectType, ITypeReference systemStringType, ITypeReference systemVoidType) { var me = new AsmMetaRewriter(host, pdbReader, contractClassType, compilerGeneratedAttributeType, systemAttributeType, systemBooleanType, systemObjectType, systemStringType, systemVoidType); return(me.Rewrite(assembly)); }