<?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>Make it a warning!!!</title><link>http://blogs.msdn.com/b/ericgu/archive/2005/12/14/503589.aspx</link><description>My code samples of the past couple of days have led to a few requests for warnings, which reminds me of a story. So gather round old Grandpa Gunnerson. Like many such stories, this is something I've said before - probably on this very blog - but I can</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Make it a warning!!!</title><link>http://blogs.msdn.com/b/ericgu/archive/2005/12/14/503589.aspx#504106</link><pubDate>Thu, 15 Dec 2005 18:32:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:504106</guid><dc:creator>Michael S. Kaplan</dc:creator><description>Warnings have their own dangers if one does not keep on top of them....&lt;br&gt;&lt;br&gt;cf: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/mdolenga/402712.aspx"&gt;http://blogs.msdn.com/mdolenga/402712.aspx&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=504106" width="1" height="1"&gt;</description></item><item><title>re: Make it a warning!!!</title><link>http://blogs.msdn.com/b/ericgu/archive/2005/12/14/503589.aspx#503840</link><pubDate>Thu, 15 Dec 2005 02:58:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:503840</guid><dc:creator>Miral</dc:creator><description>I'd rather have tons and tons of warnings, but be able to invidually (and temporarily) disable them at the line-of-code level.  That's the best of both worlds -- you get told about anything suspicious, but you can make it go away once you've confirmed that it's ok in that situation.&lt;br&gt;&lt;br&gt;AND you have a bit of implicit documentation there so that later on if a bug crops up in that bit of code you can look at it and see &amp;quot;oh, we disabled a warning there -- maybe it really WAS a problem after all&amp;quot;.&lt;br&gt;&lt;br&gt;Especially since in VS2005 it seems to be more difficult to get hold of FxCop.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=503840" width="1" height="1"&gt;</description></item><item><title>re: Make it a warning!!!</title><link>http://blogs.msdn.com/b/ericgu/archive/2005/12/14/503589.aspx#503668</link><pubDate>Wed, 14 Dec 2005 21:18:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:503668</guid><dc:creator>Matt</dc:creator><description>Yes I admit that I hadn't thought about the fact that you cannot use an explicit new to at least make it clear on reading class B that it was doing something possibly unpleasant, thus obviating the warning.&lt;br&gt;&lt;br&gt;prob doesn't justify a new 'new' keyword 'maybenew' or 'potentialshadow' :)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=503668" width="1" height="1"&gt;</description></item><item><title>re: Make it a warning!!!</title><link>http://blogs.msdn.com/b/ericgu/archive/2005/12/14/503589.aspx#503619</link><pubDate>Wed, 14 Dec 2005 20:05:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:503619</guid><dc:creator>Chris Nahr</dc:creator><description>I just wish that C# 2.0 wouldn't warn about ambiguous method references in XML comment tags where the target method is overloaded (0419). That's perfectly valid when one intends to reference a family of overloads, rather than a specific one. The default action (linking to the first overload) is fine, too. What's there to warn about?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=503619" width="1" height="1"&gt;</description></item><item><title>re: Make it a warning!!!</title><link>http://blogs.msdn.com/b/ericgu/archive/2005/12/14/503589.aspx#503595</link><pubDate>Wed, 14 Dec 2005 19:14:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:503595</guid><dc:creator>Gavin Greig</dc:creator><description>For what it's worth, there are some of us out here who turn warnings up to 4 and turn on warnings as errors too, so it's not wasted effort.&lt;br&gt;&lt;br&gt;It's nice to think we might be top 2% developers, but I doubt that's actually the case.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=503595" width="1" height="1"&gt;</description></item></channel></rss>