Sigil icon indicating copy to clipboard operation
Sigil copied to clipboard

Issues with NonGeneric.Emit.Call

Open chaplin89 opened this issue 8 years ago • 0 comments

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!

chaplin89 avatar Feb 20 '17 23:02 chaplin89