Generics Challange: Solved
Take a look here to see what it takes to solve my previous challange. It was extremely hard to get it to work in all scenarios, and I am pretty sure that there are additional edge cases that I have not thought of, but for now, all the tests are green. I also have a 100% repreducable (on several machines) VS crashing bug, which is about the fifth that I know of.
I actually started to put MsgBox.Show() in the code, and had a serious JavaScript deja-vu as a result...
Comments
I must've missed it. Care to reiterate the solution for the 'too-much-visual-information-at-once-looking-at-source-control-dumps'-impaired? :-)
http://rhino-tools.svn.sourceforge.net/viewvc/rhino-tools/trunk/rhino-mocks/Rhino.Mocks/Utilities/GenericsUtil.cs?revision=482&view=markup
This is a class that contains the logic that handles it. Not a SVN dump.
Take a look at GetRealType
Comment preview