This issue was caused by EmitAssembly.cs: he emitter creates code for attributes first. However, if attributes have arguments of a type that is defined within the same assembly, this type is unknown on creating the code for the attribute. Used the TypeCreator to fix.
...…
This issue was caused by EmitAssembly.cs: he emitter creates code for attributes first. However, if attributes have arguments of a type that is defined within the same assembly, this type is unknown on creating the code for the attribute. Used the TypeCreator to fix.