NDocProc bug fix for empty namespaces
This page is a mirrored copy of an article originally posted on the (now sadly defunct) LShift blog; see the archive index here.
Mon, 21 January 2008
Thanks to a comment from Claus, I’ve discovered the wonderful fact that null is not permitted as a key in an IDictionary in .NET. As it happens, the main problem was that I’d not covered namespaceless classes in NDocProc at all gracefully, but nonetheless, forbidding nulls as dictionary keys is a strange design decision.
I’ve fixed the bug, and now NDocProc handles types with no namespace much more gracefully. I’ve updated the repository:
git clone https://github.com/tonyg/ndocproc
and there’s a snapshot (source and binary) available, as well: ndocproc-200801211208.zip