locked
Old rules of FxCop 1.35

    Question

  • Hi,

    while comparing the rules of Code Analyzer and fxcop 1.35, I've found the below rules missing in Code Analyzer

    1. Dispose methods should call SuppressFinalize
    2. Avoid unnecessary string creation
    3. Do not call properties that clone values in loops
      Do not concatenate strings inside loops
      Do not initialize unnecessarily
      Secure GetObjectData overrides
      Security transparent assemblies should not contain security critical code
      Security transparent methods should not reference non-public security critical members

    Are these rules obsolete. why they have been moved out. is it fine to include them as custom rules in  VS2010 code analyzer

    Wednesday, April 04, 2012 12:44 PM