Ayende @ Rahien

It's a girl

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

Tomer Gabel
03/11/2007 03:47 AM by
Tomer Gabel

I must've missed it. Care to reiterate the solution for the 'too-much-visual-information-at-once-looking-at-source-control-dumps'-impaired? :-)

Ayende Rahien
03/11/2007 05:31 AM by
Ayende Rahien

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

Comments have been closed on this topic.