<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.12-alpha" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: NDocProc updated for C# 2.0 with Generics</title>
	<link>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics</link>
	<description>What happens at LShift</description>
	<pubDate>Fri, 21 Nov 2008 23:50:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>

	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-81647</link>
		<pubDate>Mon, 21 Jan 2008 12:12:54 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-81647</guid>
					<description>&lt;p&gt;I've released &lt;a href="http://www.lshift.net/blog/2008/01/21/ndocproc-bug-fix-for-empty-namespaces" rel="nofollow"&gt;an update to NDocProc&lt;/a&gt; which fixes the bug, Claus. Please let me know if it works for you! ... and thanks for the bug report.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve released <a href="http://www.lshift.net/blog/2008/01/21/ndocproc-bug-fix-for-empty-namespaces" rel="nofollow">an update to NDocProc</a> which fixes the bug, Claus. Please let me know if it works for you! &#8230; and thanks for the bug report.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-81640</link>
		<pubDate>Mon, 21 Jan 2008 11:32:45 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-81640</guid>
					<description>&lt;p&gt;So, it turns out that in yet another design masterstroke, MS have decreed that null shall not be permitted as a key in an IDictionary. Thanks for the heads-up, Claus. I shall work around the issue and release another snapshot.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So, it turns out that in yet another design masterstroke, MS have decreed that null shall not be permitted as a key in an IDictionary. Thanks for the heads-up, Claus. I shall work around the issue and release another snapshot.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Claus</title>
		<link>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-81305</link>
		<pubDate>Fri, 18 Jan 2008 01:46:50 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-81305</guid>
					<description>&lt;p&gt;In my project, the key 't.Namespace' was noy in the list. So I got an exception at 'namespaces[t.Namespace]=....&lt;/p&gt;

&lt;p&gt;BTW: I always do this checking with Arrays.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In my project, the key &#8216;t.Namespace&#8217; was noy in the list. So I got an exception at &#8216;namespaces[t.Namespace]=&#8230;.</p>
<p>BTW: I always do this checking with Arrays.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-80745</link>
		<pubDate>Mon, 14 Jan 2008 11:36:55 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-80745</guid>
					<description>&lt;p&gt;Hi Claus,&lt;/p&gt;

&lt;p&gt;Thanks for the contribution! What's the motivation behind the change?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Claus,</p>
<p>Thanks for the contribution! What&#8217;s the motivation behind the change?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Claus</title>
		<link>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-80700</link>
		<pubDate>Mon, 14 Jan 2008 02:05:56 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2007/11/07/ndocproc-updated-for-c-20-with-generics#comment-80700</guid>
					<description>&lt;p&gt;Change this code in "Reflection":
                foreach (Type t in a.GetTypes())
                {
                    if (t.Namespace == null)
                        continue;
                    if (!namespaces.ContainsKey(t.Namespace))
                    {
                        namespaces[t.Namespace] = new ArrayList();
                    }
                    ((ArrayList)namespaces[t.Namespace]).Add(t);
                    types[t.FullName] = t;
                }&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Change this code in &#8220;Reflection&#8221;:<br />
                foreach (Type t in a.GetTypes())<br />
                {<br />
                    if (t.Namespace == null)<br />
                        continue;<br />
                    if (!namespaces.ContainsKey(t.Namespace))<br />
                    {<br />
                        namespaces[t.Namespace] = new ArrayList();<br />
                    }<br />
                    ((ArrayList)namespaces[t.Namespace]).Add(t);<br />
                    types[t.FullName] = t;<br />
                }</p>
]]></content:encoded>
				</item>
</channel>
</rss>
