1
Vote

MarshalJsValue To Array doesnt work

description

                        m_arrayMarshllers[typeof(T)] = marshller = Delegate.CreateDelegate(
                            typeof(Func<JsObject, T>),
                            this,
                            typeof(Marshaller)
                                .GetMethod("MarshalJsFunctionHelper")
                                .MakeGenericMethod(typeof(T).GetElementType())
MashalJsFunctionHelper is a non public method. So getmethod doesnt return it; this code always fails

comments

pm100 wrote Jun 20, 2012 at 2:54 AM

and when that is fixed the MakeGenericMethod call fails because MashalJsFunctionHelper is not generic