Skip to content

1.0.0 Alpha 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@sharwell sharwell released this 09 Feb 03:36
· 4925 commits to master since this release

Implemented Rules

The following rules are implemented as part of this release.

  • Spacing rules
    • SA1000 Keywords must be spaced correctly
    • SA1021 Negative signs must be spaced correctly
    • SA1022 Positive signs must be spaced correctly
  • Readability rules
    • SA1100 Do not prefix calls with base unless local implementation exists
    • SA1112 Closing parenthesis must be on line of opening parenthesis
    • SA1121 Use built-in type alias
    • SA1122 Use string.Empty for empty strings
  • Naming rules
    • SA1302 Interface names must begin with I
    • SA1303 Const field names must begin with upper-case letter
    • SA1304 Non-private readonly fields must begin with upper-case letter
  • Maintainability rules
    • SA1119 Statement must not use unnecessary parenthesis
    • SA1401 Fields must be private
    • SA1402 File may only contain a single class
    • SA1403 File may only contain a single namespace
    • SA1404 Code analysis suppression must have justification
    • SA1405 Debug.Assert must provide message text
    • SA1406 Debug.Fail must provide message text
    • SA1407 Arithmetic expressions must declare precedence
    • SA1408 Conditional expressions must declare precedence
    • SA1410 Remove delegate parenthesis when possible
    • SA1411 Attribute constructor must not use unnecessary parenthesis
  • Documentation rules
    • SA1601 Partial elements must be documented
    • SA1602 Enumeration items must be documented
    • SA1604 Element documentation must have summary
    • SA1605 Partial element documentation must have summary
    • SA1606 Element documentation must have summary text
    • SA1607 Partial element documentation must have summary text