Naming Rules

  • ND1700 Class Field Name Prefixes
  • ND1701 ArgumentException Parameter Names

Design Rules

  • ND1001 Mark Properties of DataContract with the DataMember Attribute
  • ND1002 Mark Class with the DataContract Attribute
  • ND1003 Scope DataMember properties as public
  • ND1004 Scope DataContract class as public
  • ND1035 Specify Justification for SuppressMessage Attributes.
  • ND1030 Generic List<T> Instead of ArrayList
  • ND1062 Validate arguments of public methods.
    • This rule replaces the CA1062 rule from Visual Studio 2005 . This rule is removed in VS 2008.

Reliability Rules

  • ND2000 Dispose objects before losing scope.
    • This rule replaces the CA2000 rule from Visual Studio 2005 . This rule is removed in VS 2008.

Last edited May 6, 2008 at 11:41 AM by geoffreysamper, version 2

Comments

No comments yet.