Avoid memory leaks within code generation
The code generation code was emitting code for the same types/mappings each time it was called, slowly using of memory. Instead of reusing the same dynamic assembly, a new one is created each time now.
The code generation code was emitting code for the same types/mappings each time it was called, slowly using of memory. Instead of reusing the same dynamic assembly, a new one is created each time now.