Sigil
Sigil copied to clipboard
Issues with NonGeneric.Emit.Call
Hi,
The function Sigil.NonGeneric.Emit.Call ends up calling this overload of Emit<NonGenericPlaceholderDelegate>.Call:
public Emit<DelegateType> Call(MethodInfo method, Type[] arglist = null)
That overload is for already builded types and, in fact, the inner MethodBuilder object does not seems to like the call to GetParameters() (NotSupportedException -> Type has not beed created).
Is it possible to fix this calling the other overload of Emit<NonGenericPlaceholderDelegate>.Call?
Thanks!