I am looking into possibly using CCI to emit a dynamic type to an in memory dynamic assembly.
1. Is this possible?
2. How do I indicate that an assembly is Dynamic?
In System Reflection I would use:
AssemblyName name = new AssemblyName("DynamicClasses");
AssemblyBuilder assembly = AppDomain.CurrentDomain.DefineDynamicAssembly(name, AssemblyBuilderAccess.Run);
ModuleBuilder module = assembly.DefineDynamicModule("Module");
However I couldn't find an equivalent technique in CCI.