<?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>Brady Gaster: new FxCop rule - serializable classes need default constructors</title><link>http://blogs.msdn.com/b/robcaron/archive/2004/07/29/201254.aspx</link><description>In an earlier post , I talked about the different people creating FxCop rules. Brady Gaster , the impetus for that post has created another. Keep 'em coming, Brady! fxcop rule : serializable classes need default constructors with a little work and a lot</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Brady Gaster: new FxCop rule - serializable classes need default constructors</title><link>http://blogs.msdn.com/b/robcaron/archive/2004/07/29/201254.aspx#201311</link><pubDate>Fri, 30 Jul 2004 03:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:201311</guid><dc:creator>Michael</dc:creator><description>The part that concerned me was this quote from blog: &amp;quot;so this rule basically enforces that requirement by ensuring that all objects marked with the Serializable attribute contain default public (instance-only!) constructors.&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=201311" width="1" height="1"&gt;</description></item><item><title>re: Brady Gaster: new FxCop rule - serializable classes need default constructors</title><link>http://blogs.msdn.com/b/robcaron/archive/2004/07/29/201254.aspx#201301</link><pubDate>Fri, 30 Jul 2004 02:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:201301</guid><dc:creator>brady gaster</dc:creator><description>this rule is designed to enforce the first rule in your list. the second isn't considered.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=201301" width="1" height="1"&gt;</description></item><item><title>re: Brady Gaster: new FxCop rule - serializable classes need default constructors</title><link>http://blogs.msdn.com/b/robcaron/archive/2004/07/29/201254.aspx#201289</link><pubDate>Fri, 30 Jul 2004 01:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:201289</guid><dc:creator>Michael</dc:creator><description>I'm a bit confused by this rule.  As I understand it:&lt;br&gt;&lt;br&gt;A default public instance constructor is only required for classes using xml serialization (System.Xml.Serialization).  &lt;br&gt;The SerializableAttribute is only required for classes using the serialization framework (System.Runtime.Serialization).&lt;br&gt;&lt;br&gt;It seems to me this rule is incorrect.  Anyone agree?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=201289" width="1" height="1"&gt;</description></item></channel></rss>