J
Joannes Vermorel
Looking at the debugger of VS .Net, I have discovered some bizarre behavior
of the Exception type. When I do <c>Exception e = null;<c/> I notice that
'e' is not actually null (<c>e == null<c/> return false) but is not defined
either (<c>e.GetType()<c/> throws an other exception). In the .Net doc, it
seems that Exception is a CLS compliant type. So why this very bizarre
behavior ? And next question, how do I check that an Exception has a null
value?
Joannès
of the Exception type. When I do <c>Exception e = null;<c/> I notice that
'e' is not actually null (<c>e == null<c/> return false) but is not defined
either (<c>e.GetType()<c/> throws an other exception). In the .Net doc, it
seems that Exception is a CLS compliant type. So why this very bizarre
behavior ? And next question, how do I check that an Exception has a null
value?
Joannès