FxCop 1.312

1 minuut gelezen

New version of FxCop available at http://gotdotnet.com/team/fxcop/

<P class=MsoNormal>Major features of this release: <?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” />

</P> <UL style=”MARGIN-TOP: 0in” type=disc> <LI class=MsoNormal style=”mso-list: l1 level1 lfo1; tab-stops: list .5in”>Simplification of report xml.

<LI class=MsoNormal style=”mso-list: l1 level1 lfo1; tab-stops: list .5in”>New Fix Categories: Each message is marked to indicate if the suggested fix will constitute a breaking change for previously shipped code.

<LI class=MsoNormal style=”mso-list: l1 level1 lfo1; tab-stops: list .5in”>User Interface Improvements: windowing behavior has been made more consistent

<LI class=MsoNormal style=”mso-list: l1 level1 lfo1; tab-stops: list .5in”>Auto Update: Sign up to get notified when a new version of FxCop is available.</LI></UL> <P class=MsoNormal>New Rules:

</P> <UL style=”MARGIN-TOP: 0in” type=disc> <LI class=MsoNormal style=”mso-list: l0 level1 lfo2; tab-stops: list .5in”>Design

<UL style=”MARGIN-TOP: 0in” type=circle> <LI class=MsoNormal style=”mso-list: l0 level2 lfo2; tab-stops: list 1.0in”>Avoid excessive parameters on generic types

<LI class=MsoNormal style=”mso-list: l0 level2 lfo2; tab-stops: list 1.0in”>Collections should  implement generic interface

<LI class=MsoNormal style=”mso-list: l0 level2 lfo2; tab-stops: list 1.0in”>Do not declare static members on generic types

<LI class=MsoNormal style=”mso-list: l0 level2 lfo2; tab-stops: list 1.0in”>Do not expose generic lists

<LI class=MsoNormal style=”mso-list: l0 level2 lfo2; tab-stops: list 1.0in”>Do not nest generic types in member signatures

<LI class=MsoNormal style=”mso-list: l0 level2 lfo2; tab-stops: list 1.0in”><SPAN class=SpellE>Enums</SPAN> should have zero value

<LI class=MsoNormal style=”mso-list: l0 level2 lfo2; tab-stops: list 1.0in”>Generic methods should provide type parameter

<LI class=MsoNormal style=”mso-list: l0 level2 lfo2; tab-stops: list 1.0in”>Members should not expose certain concrete types

</LI></UL></LI></UL>

Categorieën:

Bijgewerkt: