How to emit a delegate type into a dynamic assembly (reflection emit API)?
I have looked into System.Reflection.Emit.DynamicMethod.CreateDelegate
and System.Reflection.MethodInfo.CreateDelegate
methods. Unfortunately, these does not create a delegate type (as a member of assembly) into a dynamic assembly.
Aucun commentaire:
Enregistrer un commentaire