This project is read-only.

MakeGenericMethod XBOX

Jul 9, 2009 at 11:11 AM

Hi Roonda,

Is the hack for the problem on the method MakeGenericMethod on XBOX available in this release?



Voted 5 for a great job!

Jul 9, 2009 at 4:21 PM
Edited Jul 9, 2009 at 4:38 PM

Hi there Jorgebg,

It is indeed included. You'll see it in CallGenericLoad() in ContentTrackerAsync.cs. I'm sure there must be a better way, even on XBox. I resort to iterating all the methods on the ContentTracker type and checking for the particular method name. Actually, I should really have cached the closed MethodInfo object rather than search for and create it every call. That would be very easy and no doubt help performance, but I just didn't think of it until now. I'll add that for the next release.

Thank you very much for the kind review :)



[EDIT] Created a work item for speeding up CallGenericLoad():