<?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>Why Won't using Throw a NullReferenceException</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/03/29/101466.aspx</link><description>Today someone was curious why C#'s using statement won't throw a NullReferenceException. They had a using statement that opened a registry key, but even if that key didn't exist and the return value was null, they didn't have to worry about a NullReferenceException</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Why Won't using Throw a NullReferenceException</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/03/29/101466.aspx#104076</link><pubDate>Tue, 30 Mar 2004 19:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:104076</guid><dc:creator>Mathew Nolton</dc:creator><description>I think it makes perfect sense. If the statement the using statement is predicated on is not valid...then why bother with the inclusion code. It should skip right out of there.&lt;br&gt;&lt;br&gt;My 2 cents anyway,&lt;br&gt;-Mathew Nolton&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=104076" width="1" height="1"&gt;</description></item><item><title>Take Outs for 29 March 2004</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/03/29/101466.aspx#101883</link><pubDate>Tue, 30 Mar 2004 03:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:101883</guid><dc:creator>Enjoy Every Sandwich</dc:creator><description>Take Outs for 29 March 2004&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=101883" width="1" height="1"&gt;</description></item></channel></rss>