Hi Ayende

 Found this whilst trying to raise an event in a unit test

<https://lh5.googleusercontent.com/-Vp7Ld282DSA/T9nfsDnXslI/AAAAAAAABYQ/LeM10PEkMZA/s1600/ayende.stacktrace.png>

 I went ahead and opened Rhino.Mocks in Reflector and found this :

<https://lh6.googleusercontent.com/-3jpqDSxPC_E/T9nf5WtHPDI/AAAAAAAABYY/NwjAJcU8L60/s1600/ayende.reflector.png>


The problem is highlighted, the check for *IsValueType* returns true for 
nullable types hence null is not accepted. Apparently, using *
Nullable.GetUnderlyingType* would fix the problem, but I don’t know how to 
provide you with a patch.

 If you want more details I can provide you with a repro case.

 Kind regards,

Roman


-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rhinomocks/-/haYJUDFrOyEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to