Skip to content

6.2

Compare
Choose a tag to compare
@Evangelink Evangelink released this 02 Aug 07:51
· 5005 commits to master since this release

False Positive

  • #504 - Fix S2386: Rule should not report when readonly field is initialized with null
  • #530 - Fix S3881: "Implement IDisposable correctly" should allow calling GC.SuppressFinalize(this) even when there is no destructor
  • #550 - Fix S3908: Rule should not report issues on classes that implement interfaces

Improvement

  • #516 - Update S927: C#: parameter names should match base declaration and other partial definitions
  • #519 - Rule S110: "filteredClasses" documentation should describe which delimiter to use or provide specific examples

New Feature

  • #164 - Rule S3900: Arguments of public methods should be validated against null
  • #209 - Rule S3966: Objects should not be disposed more than once
  • #497 - Rule S4070: Non-flags enums should not be marked with "FlagsAttribute"
  • #498 - Rule S4049: Properties should be preferred
  • #499 - Rule S4050: Operators should be overloaded consistently
  • #500 - Rule S4052: Types should not extend outdated base types
  • #501 - Rule S4060: Non-abstract attributes should be sealed
  • #502 - Rule S4061: "params" should be use instead of "varargs"
  • #503 - Rule S4047: Generics should be used when appropriate
  • #506 - Rule S3956: "Generic.List" instances should not be part of public APIs
  • #507 - Rule S1075: URIs should not be hardcoded
  • #508 - Rule S4069: Operator overloads should have named alternatives
  • #509 - Rule S4058: Overloads with a "StringComparison" parameter should be used
  • #510 - Rule S4059: Property names should not match get methods
  • #511 - Rule S4057: Locales should be set for data types
  • #512 - Rule S4055: Literals should not be passed as localized parameters
  • #513 - Rule S4056: Overloads with a "CultureInfo" or an "IFormatProvider" parameter should be used
  • #514 - Rule S3242: Method parameters should be declared with base types
  • #515 - Rule S1200: Classes should not be coupled to too many other classes (Single Responsibility Principle)
  • #517 - Rule S3649: User-provided values should be sanitized before use in SQL statements

Notes