> You have to unbox the result of mono_runtime_invoke because it > returns the IntPtr boxed in a MonoObject*. > > Something like that: > > MonoObject* obj = mono_runtime_invoke (...) > MonoMethod* genericMethod = *(MonoMethod**) mono_object_unbox (obj); >
The above makes sense but it aborts with: System.Data.Entity.Core.Objects.ObjectSet<Data.Employee> doesn't implement interface System.Collections.Generic.IEnumerable<System.Data.Entity.Core.Objects.ObjectSet<Data.Employee>> mono_class_get_interfaces(ObjectSet) says: Interface name: IObjectSet`1 Interface name: IQueryable`1 Interface name: IEnumerable`1 Interface name: IQueryable Interface name: IEnumerable Jonathan _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
