<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx</link><description>Ever since we released the first version of C# 1.0 I’ve received a question or two a month about XML documentation comments. These are often referred to as ‘doc comments’ for short. The questions range from the use of doc comments in VS to the recommended</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>paraesthesia</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#750797</link><pubDate>Tue, 12 Sep 2006 19:48:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:750797</guid><dc:creator>paraesthesia</dc:creator><description>PingBack from &lt;a rel="nofollow" target="_new" href="http://www.paraesthesia.com/blog/weblog.php?id=P1076"&gt;http://www.paraesthesia.com/blog/weblog.php?id=P1076&lt;/a&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#750968</link><pubDate>Tue, 12 Sep 2006 22:09:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:750968</guid><dc:creator>Patrick</dc:creator><description>&lt;P&gt;Creating a .CHM file or other type of documentation file from the XML comments is an important feature with a lot of demand around it (just look at the number of downloads nDoc gets). Having more verbose comments ala GhostDoc is also something that is highly useful. &lt;BR&gt;&lt;BR&gt;Being able to keep the documentation and the code in the same document (the .cs file) makes it far more likely that the documentation will actually stay up to date. &lt;BR&gt;&lt;BR&gt;The XML comments feature should be expanded to include images, samples, and other expository text.&lt;/P&gt;
&lt;FIELDSET&gt;&lt;LEGEND&gt;Response&lt;/LEGEND&gt;I agree with your suggestions and we're tracking them on a potential features list for a future version of VS.&lt;/FIELDSET&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#755219</link><pubDate>Fri, 15 Sep 2006 07:13:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:755219</guid><dc:creator>Nikita A Zeemin</dc:creator><description>&lt;P&gt;Greate post, thanks a lot! I just translated it to Russian and want to publish it on famous Russian programmer's site/forum &lt;A href="http://rsdn.ru/" target=_new rel=nofollow&gt;http://rsdn.ru/&lt;/A&gt; ("Russian Software Developers Network"). Can you grant me your permission to this? Of course, your copyright will be saved with the translated version of the article.&lt;/P&gt;
&lt;FIELDSET&gt;&lt;LEGEND&gt;Response&lt;/LEGEND&gt;Sure! I've got no problem with any of these posts being translated into other languages. Thanks for taking the time to do so :)&lt;/FIELDSET&gt;</description></item><item><title>Community Convergence III</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#755313</link><pubDate>Fri, 15 Sep 2006 08:24:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:755313</guid><dc:creator>Charlie Calvert's Community Blog</dc:creator><description>This week you can watch the first in a series of videos featuring members of the Microsoft C# team. A video of Raj Pai, the Group Program Manager for the C# team, leads off the series.</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#755558</link><pubDate>Fri, 15 Sep 2006 11:58:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:755558</guid><dc:creator>Jan Kucera</dc:creator><description>Unfortunately there is no way of reflection on the comments as far as I know...</description></item><item><title>Russian-translated version</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#761548</link><pubDate>Tue, 19 Sep 2006 07:56:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:761548</guid><dc:creator>nzeemin</dc:creator><description>So, here is Russian-translated version of the post: &lt;A href="http://rsdn.ru/article/devtools/CSxmlcmnt.xml" target=_new rel=nofollow&gt;http://rsdn.ru/article/devtools/CSxmlcmnt.xml&lt;/A&gt;
&lt;P&gt;&lt;/P&gt;
&lt;FIELDSET&gt;&lt;LEGEND&gt;Response&lt;/LEGEND&gt;Awesome! Thanks!&lt;/FIELDSET&gt;
&lt;P&gt;&lt;/P&gt;</description></item><item><title>Embedding Doc Comments as Metadata</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#764539</link><pubDate>Thu, 21 Sep 2006 15:22:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:764539</guid><dc:creator>Chris</dc:creator><description>&lt;P&gt;Has there been any consideration of providing a step in the compilation process that would inject documentation comments into an assembly, thus making it possible to discover documentation comments via reflection? This could easily be accomplished via attributes and it would be quite useful to tool developers. It would also make an assembly "self-documenting" without having to worry about toting around an additional *.xml file &lt;/P&gt;
&lt;FIELDSET&gt;&lt;LEGEND&gt;Response&lt;/LEGEND&gt;Good question. Honestly the choice to split the documentation and the metadata/il was intentional. There are a few reasons. The first is that the documentation is really useful only when developing an application, which tends to be a comparitvely small amount of the time as compared to its usage in running the application. That wouldn't make much of a difference if it were free to make use of attributes; however, there is a cost both in the size of the assembly and the load time. So, we decided to split it out such that a fairly trimed down version could be deployed to end users with the documentation being deployed separately to developers. &lt;BR&gt;&lt;BR&gt;I generally think this was the right choice; however, I definitely agree that we should have and promote and easy way to access doc comment information. It sounds like an interesting topic for a future blog. &lt;/FIELDSET&gt;</description></item><item><title>C# Generic Documentation Comment.</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#792397</link><pubDate>Thu, 05 Oct 2006 02:50:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:792397</guid><dc:creator>Clayton Firth's Blog</dc:creator><description>&lt;p&gt;I have been struggling with this issue for a few weeks now. How to I put crefs into my C# doc comments...&lt;/p&gt;
</description></item><item><title>C# Links</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#810692</link><pubDate>Tue, 10 Oct 2006 03:54:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:810692</guid><dc:creator>Charlie Calvert's Community Blog</dc:creator><description>&lt;p&gt;Learn Videos and Presentations The LINQ Framework: What's New in the May CTP Anders: Chatting about LINQ&lt;/p&gt;
</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#906961</link><pubDate>Tue, 31 Oct 2006 12:26:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:906961</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;One of your examples has a comment stating 'DoSomething takes a &amp;lt;see cref=&amp;quot;List{T}&amp;quot;/&amp;gt;'.&lt;/p&gt;
&lt;p&gt;In fact DoSomething takes a List&amp;lt;int&amp;gt;, not just any List&amp;lt;T&amp;gt;. &amp;nbsp;Is there a way to specify this constraint in the XML comments?&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#937331</link><pubDate>Fri, 03 Nov 2006 01:37:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:937331</guid><dc:creator>Chris Moore</dc:creator><description>&lt;p&gt;Yes! Yes! Yes!&lt;/p&gt;
&lt;p&gt;I totally agree with the comment above by Chris (not me, the other Chris) that there should be an option to embed documentation comments into an assembly. I spent days writing a unified reflection model (an Assembly DOM, if you will) that provided the documentation comments for a given type, method, etc. I work a lot with reflection and many, many times I have needed this information. &lt;/p&gt;
&lt;p&gt;How lovely it would be to write:&lt;/p&gt;
&lt;p&gt; DocComments comments = typeof(MyType).DocComments.&lt;/p&gt;
&lt;p&gt;!!!!&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#1315499</link><pubDate>Mon, 18 Dec 2006 11:45:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1315499</guid><dc:creator>Mr. R</dc:creator><description>&lt;p&gt;I'm sorry, but... &amp;nbsp;the last post, and the other referencing the whole &amp;quot;reflection of comments&amp;quot; is nothing short of laughable.&lt;/p&gt;
&lt;p&gt;I don't mean to be rude, but you guys do realize that when something is COMPILED that the comments are considered whitespace, right? &amp;nbsp;And that when they're stripped, they're stored in an .xml comments file (if specified).&lt;/p&gt;
&lt;p&gt;The latter request is just about as a horrible idea as any. &amp;nbsp;I don't know about you, but no developer worth their weight in salt (or gold) would ever want the comments compiled in to their assembly, not any part. &amp;nbsp;If you -really- want this, look at doing something msbuild and resources... &amp;nbsp;don't, don't, don't ask anyone on any team even remotely close to the .NET Framework to add such a feature.&lt;/p&gt;
&lt;p&gt;This is a request that I can only assume is being made by people that really don't have a clue how something compiles, or aren't just thinking this through. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;How 'bout you guys look up the comments from the xml markup during the reflection process? &amp;nbsp;Is it really that hard?&lt;/p&gt;
&lt;p&gt;The response to the first post obviously shows that they were thinking this through. &amp;nbsp;At least someone over there is. &amp;nbsp;;-)&lt;/p&gt;</description></item><item><title>Reverse Enginnering of the "doc comments"???</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#1443767</link><pubDate>Wed, 10 Jan 2007 15:27:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1443767</guid><dc:creator>akashelkar</dc:creator><description>&lt;p&gt;Is there a way I can generate the code comments back from an XML document? &amp;nbsp;For e.g. if I have a code module in which I have added &amp;quot;doc comments&amp;quot; at various places and I generate an XML file from these comments. &amp;nbsp;Can I have an XML file made in the same format and then reverse-engineer it somehow to get the comments underlying it?&lt;/p&gt;
&lt;p&gt;If this were possible, I could create my functional/technical specs in the XML format and then reverse-enginner it to have the specs entered into an existing or a blank code file as comments. &amp;nbsp;Easy reference when writing code!&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#1539998</link><pubDate>Sat, 27 Jan 2007 04:48:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1539998</guid><dc:creator>Roman Korchagin</dc:creator><description>&lt;p&gt;It would be great if there was any guideline on writing the &amp;lt;exception&amp;gt; documentation tags.&lt;/p&gt;
&lt;p&gt;The .NET Framework Guidelines book gives plenty of guidelines on using exceptions, but nothing about documenting exceptions thrown by a method.&lt;/p&gt;
&lt;p&gt;I fully agree and support that the exception specification is not part of the C# language, but documenting what exceptions are thrown by a method in a public API is an entirely different thing and I think it must be done. The .NET Framework itself documents thrown exceptions thoroughly.&lt;/p&gt;
&lt;p&gt;I'm a lead developer of a popular commercial component and we were not documenting thrown exceptions, but the users ask for this and we must formulate a strategy.&lt;/p&gt;
&lt;p&gt;The question is basically is:&lt;/p&gt;
&lt;p&gt;I have a public API method A which calls heaps of internal methods and heaps of .NET framework methods and classes.&lt;/p&gt;
&lt;p&gt;What &amp;lt;exception&amp;gt; documentation should I include in the documentation of the method A?&lt;/p&gt;
&lt;p&gt;a. Should I document only exceptions thrown explicitly by method A?&lt;/p&gt;
&lt;p&gt;b. Should I document ALL possible exceptions that can be thrown by method A and ANY method that it calls?&lt;/p&gt;
&lt;p&gt;If I do &amp;quot;a&amp;quot;, then it is easy to mislead the users by &amp;quot;underdocumentation&amp;quot;. For example I have a public method Load that does something simple and calls the more meaty internal method LoadCore. It makes no sense to document exceptions thrown only by the Load method since there are none. Then I must do &amp;quot;b&amp;quot;.&lt;/p&gt;
&lt;p&gt;However, it is very hard to do &amp;quot;b&amp;quot; properly because it requires a lot of maintenance! Basically it means the documentation for exceptions for a public method will depend on the actual implementation that could be deep down. For example, I changed the implementation of the Load method to use different .NET methods and classes and they throw different exceptions now. I should then manually find and update all exception documentation that could be affected!!!&lt;/p&gt;
&lt;p&gt;So I think I will stick with NO &amp;lt;exception&amp;gt; documentation for the time being.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#1540119</link><pubDate>Sat, 27 Jan 2007 05:10:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1540119</guid><dc:creator>Roman Korchagin</dc:creator><description>&lt;p&gt;In addition to my previous comment about &amp;lt;exception&amp;gt; documentation I would like to say that creating some sort of an automatic tool that will follow the call tree from the public method A into all internals to collect documentation for all thrown exceptions is not going to solve the problem.&lt;/p&gt;
&lt;p&gt;For example, deep in my code I access an element of some internal array. You know this can thrown IndexOutOfRangeException, but hopefully, I wrote stable code that will not do such thing. Therefore, I expect that IndexOutOfRangeException will never be thrown and I certainly don't want to document it in the public API.&lt;/p&gt;
&lt;p&gt;So it looks like there is no escape from the hard work in this case? How you did this for MSDN at Microsoft?&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#1588751</link><pubDate>Sat, 03 Feb 2007 11:55:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1588751</guid><dc:creator>Fornaris</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;How I can add some contents to the documentation without &amp;nbsp;a class definition? For example:&lt;/p&gt;
&lt;p&gt;Introduccion&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;What's new&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Bugs&lt;/p&gt;
&lt;p&gt;Abstract&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Bla, bla..&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#1960782</link><pubDate>Tue, 27 Mar 2007 10:38:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1960782</guid><dc:creator>ocnsss</dc:creator><description>&lt;p&gt;On personal opinion, I find this very helpful. &lt;/p&gt;
&lt;p&gt;Guys, I have also posted some more relevant info further on this, not sure if you find it useful: &lt;a rel="nofollow" target="_new" href="http://www.bidmaxhost.com/forum/"&gt;http://www.bidmaxhost.com/forum/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#2646028</link><pubDate>Tue, 15 May 2007 12:41:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2646028</guid><dc:creator>Albert</dc:creator><description>&lt;p&gt;What is your opinion about documenting overriden methods in c# code ?&lt;/p&gt;
&lt;p&gt;What is the best practice for this and what are the consequencies in the final documentation ?&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#3564894</link><pubDate>Wed, 27 Jun 2007 15:53:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3564894</guid><dc:creator>Matt Galligan</dc:creator><description>&lt;p&gt;CHM Documents are nice, but with a little photoshop skill, and a XSL sheet you can create essentially the same thing. Using CSS positioning or frames to create a TOC and automatic linking throughout the document.&lt;/p&gt;
&lt;p&gt;You can even link back to parent or related classes, link through the &amp;lt;seealso&amp;gt; tag,etc.&lt;/p&gt;
&lt;p&gt;It took me about a day of work to make a nice XSL file that will last me for the entirety I use .NET.&lt;/p&gt;
&lt;p&gt;...And you dont have to worry about NDoc.&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#3907696</link><pubDate>Tue, 17 Jul 2007 08:41:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3907696</guid><dc:creator>Allann</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This might be a little of topic, but how do you specify a code segment enclosed in the &amp;lt;code&amp;gt; tags as being a specific language so that the laguage filter will work?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Allan&lt;/p&gt;</description></item><item><title>motorcycle blog &amp;raquo; C# Generic Documentation Comment.</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#4127539</link><pubDate>Mon, 30 Jul 2007 11:01:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4127539</guid><dc:creator>motorcycle blog » C# Generic Documentation Comment.</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.webkes.info/2007/07/30/c-generic-documentation-comment/"&gt;http://www.webkes.info/2007/07/30/c-generic-documentation-comment/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#4145463</link><pubDate>Tue, 31 Jul 2007 13:09:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4145463</guid><dc:creator>Benoist</dc:creator><description>&lt;p&gt;What about alias ?&lt;/p&gt;
&lt;p&gt;Can we use them is cref ?&lt;/p&gt;
&lt;p&gt;Using MyCtrl = MyNamespace.Controls;&lt;/p&gt;
&lt;p&gt;class Program&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;/// &amp;lt;summary&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;/// DoSomething takes a &amp;lt;see cref=&amp;quot;MyCtrl.MyControl&amp;gt;&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;/// &amp;lt;/summary&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;void DoSomething(MyCtrl.MyControl control) { }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#4149368</link><pubDate>Tue, 31 Jul 2007 17:33:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4149368</guid><dc:creator>Sean Aitken</dc:creator><description>&lt;p&gt;I agree with Anson. The separation makes a lot of sense. I still come from the belief that wasting space is a bad idea, no matter how trivial it seems. Maybe the reflection API's could be added, but rather than embedding the docs, they would look for the associated XML doccomments files. Many tools I find now are coming with the compiled xml.&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#5274809</link><pubDate>Thu, 04 Oct 2007 16:41:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5274809</guid><dc:creator>asp.net</dc:creator><description>&lt;p&gt;how to create xml comment file of website to provide as input to sandcastle&lt;/p&gt;</description></item><item><title>public members only?</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#5782599</link><pubDate>Tue, 30 Oct 2007 19:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5782599</guid><dc:creator>Ignaz</dc:creator><description>&lt;p&gt;Is there a way to extract the XML doc comments for public members only? I use the same commenting style for internal and private members, but don't want to deploy those comments.&lt;/p&gt;</description></item><item><title>.NET XML Comments </title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#7103722</link><pubDate>Mon, 14 Jan 2008 04:26:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7103722</guid><dc:creator>Warren Tang</dc:creator><description>&lt;p&gt;Reference C#XMLdocumentationcommentsFAQ&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/ansonh/archive/2006/09/11/750"&gt;http://blogs.msdn.com/ansonh/archive/2006/09/11/750&lt;/a&gt;...&lt;/p&gt;
</description></item><item><title>.NET XML Comments </title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#7103723</link><pubDate>Mon, 14 Jan 2008 04:27:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7103723</guid><dc:creator>Warren Tang</dc:creator><description>&lt;p&gt;Reference C#XMLdocumentationcommentsFAQ&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/ansonh/archive/2006/09/11/750"&gt;http://blogs.msdn.com/ansonh/archive/2006/09/11/750&lt;/a&gt;...&lt;/p&gt;
</description></item><item><title>Website Scripts &amp;raquo; Anson Horton&amp;#8217;s Blog : C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#7180041</link><pubDate>Mon, 21 Jan 2008 08:29:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7180041</guid><dc:creator>Website Scripts » Anson Horton’s Blog : C# XML documentation comments FAQ</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://websitescripts.247blogging.info/anson-hortons-blog-c-xml-documentation-comments-faq/"&gt;http://websitescripts.247blogging.info/anson-hortons-blog-c-xml-documentation-comments-faq/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#7340467</link><pubDate>Thu, 31 Jan 2008 07:00:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7340467</guid><dc:creator>Andy </dc:creator><description>&lt;p&gt;How to type character &amp;lt; less than in XML comment ?&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#7378932</link><pubDate>Sat, 02 Feb 2008 00:28:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7378932</guid><dc:creator>Maggie</dc:creator><description>&lt;p&gt;In Visual Studio 2005, whenever I try to put a less than sign (left angle bracket) after \n&amp;quot;/// &amp;quot; (space after third slash), the IDE hangs. &amp;nbsp;I hold shift then hit &amp;lt; and I never get control back. Is this a known bug, I could not find any reference to it on the web.&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#8325940</link><pubDate>Wed, 19 Mar 2008 20:21:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8325940</guid><dc:creator>John S</dc:creator><description>&lt;p&gt;Hi there, thanks for the informative article. You talk about making cross references to generic types, eg:&lt;/p&gt;
&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;/p&gt;
&lt;p&gt;/// Populates the &amp;lt;see cref=&amp;quot;Stack{int}&amp;quot;/&amp;gt;.&lt;/p&gt;
&lt;p&gt;/// &amp;lt;/summary&amp;gt;&lt;/p&gt;
&lt;p&gt;So here we have defined a cref to a generic stack of ints. The type information has been put in braces instead of &amp;lt;&amp;gt; and VS recognises this correctly. However, what if the contained type is generic itself? I would have guessed that the following should work:&lt;/p&gt;
&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;/p&gt;
&lt;p&gt;/// Populates the &amp;lt;see cref=&amp;quot;Stack{List{int}}&amp;quot;/&amp;gt;.&lt;/p&gt;
&lt;p&gt;/// &amp;lt;/summary&amp;gt;&lt;/p&gt;
&lt;p&gt;The type referenced above is a generic stack that contains a generic list of ints. It is a perfectly valid construct yet the brace syntax demonstrated above does not work. It results in an unresolved reference to Stack&amp;lt;List&amp;lt;int&amp;gt;&amp;gt;, even though the referenced types are in the current compilation scope. It would appear that the brace syntax only works for generic types that are 'one level deep' as it were.&lt;/p&gt;
&lt;p&gt;So please, how would you make a cross reference to a generic type that contains a generic type, such as in the above example?&lt;/p&gt;
&lt;p&gt;Thank you for your time.&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#8332356</link><pubDate>Sun, 23 Mar 2008 18:07:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8332356</guid><dc:creator>Jim Blackler</dc:creator><description>&lt;p&gt;&amp;quot;.. there should be an option to embed documentation comments into an assembly. How lovely it would be to write:&lt;/p&gt;
&lt;p&gt;DocComments comments = typeof(MyType).DocComments.&amp;quot;&lt;/p&gt;
&lt;p&gt;I have written a small class library called DocsByReflection that doesn't embed the comments into assembly but does provide a simple way to get the information from the XML, in a similar way to how you have described.&lt;/p&gt;
&lt;p&gt;I hope some find it useful, it is documented here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://jimblackler.net/blog/?p=49"&gt;http://jimblackler.net/blog/?p=49&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Copyright Revewals &amp;raquo; Anson Horton&amp;#8217;s Blog : C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#8350652</link><pubDate>Wed, 02 Apr 2008 13:16:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8350652</guid><dc:creator>Copyright Revewals » Anson Horton’s Blog : C# XML documentation comments FAQ</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://copyrightrenewalsblog.info/anson-hortons-blog-c-xml-documentation-comments-faq/"&gt;http://copyrightrenewalsblog.info/anson-hortons-blog-c-xml-documentation-comments-faq/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#8652157</link><pubDate>Wed, 25 Jun 2008 16:34:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8652157</guid><dc:creator>Driver</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This week you can watch the first in a series of videos featuring members of the Microsoft C# team. A video of Raj Pai, the Group Program Manager for the C# team, leads off the series.&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#8732096</link><pubDate>Mon, 14 Jul 2008 23:11:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8732096</guid><dc:creator>sex</dc:creator><description>&lt;p&gt;Learn Videos and Presentations The LINQ Framework: What's New in the May CTP Anders: Chatting about LINQ&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#8946814</link><pubDate>Fri, 12 Sep 2008 17:12:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8946814</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;GhostDoc has generated the following for me:&lt;/p&gt;
&lt;p&gt;&amp;lt;see cref=&amp;quot;System.String[]&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;The compiler warns me that this is not syntactically correct. Am I missing something?&lt;/p&gt;</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#9387304</link><pubDate>Sun, 01 Feb 2009 04:01:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9387304</guid><dc:creator>Gerrit</dc:creator><description>&lt;p&gt;Why do I have to read/write unreadable xml? XML should not be written or read by humans. Please, can I get something more readable like JavaDoc style?&lt;/p&gt;</description></item><item><title> Anson Horton s Blog C XML documentation comments FAQ | storage bench</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#9749770</link><pubDate>Sun, 14 Jun 2009 13:26:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9749770</guid><dc:creator> Anson Horton s Blog C XML documentation comments FAQ | storage bench</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://thestoragebench.info/story.php?id=887"&gt;http://thestoragebench.info/story.php?id=887&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: C# XML documentation comments FAQ</title><link>http://blogs.msdn.com/ansonh/archive/2006/09/11/750056.aspx#9916889</link><pubDate>Tue, 03 Nov 2009 18:29:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9916889</guid><dc:creator>Andrew Shapira</dc:creator><description>&lt;p&gt;Suggestion: mention the syntax &amp;lt;typeparam name=&amp;quot;T&amp;quot;&amp;gt; in the section, &amp;quot;How do use XML doc comments to refer to generic types?&amp;quot;, or, add a new nearby section that describes typeparam. &amp;nbsp;It's necessary to know the typeparam syntax in order to document generic types, and the syntax is not obvious a priori.&lt;/p&gt;</description></item></channel></rss>