Skip to content

Commit 7a2006a

Browse files
committed
Merge pull request #2099 from felickz/patch-1
Add SX Alternative Rule documentation
2 parents 42e577f + 7619dc1 commit 7a2006a

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

DOCUMENTATION.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Rules which enforce code layout and line spacing.
3333

3434
Rules which verify the content and formatting of code documentation.
3535

36+
**[Alternative Rules (SX0000-)](documentation/AlternativeRules.md)**
37+
38+
Rules which offer a non-standard extension to the default StyleCop behavior.
39+
3640
### Additional documentation
3741
**[Configuration](documentation/Configuration.md)**
3842

documentation/AlternativeRules.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Alternative Rules (SX0000-)
2+
Rules which are non-standard extensions to the default StyleCop behavior, and represent an alternative style which is adopted by some projects. Alternative rules are known to directly conflict with standard StyleCop rules.
3+
4+
Identifier | Name | Description
5+
-----------|------|------------
6+
[SX1101](SX1101.md) | DoNotPrefixLocalMembersWithThis | A call to an instance member of the local class or a base class is prefixed with 'this.', within a C# code file.
7+
[SX1309](SX1309.md) | FieldNamesMustBeginWithUnderscore | A field name does not begin with an underscore.
8+
[SX1309S](SX1309S.md) | StaticFieldNamesMustBeginWithUnderscore | A static field name does not begin with an underscore.

0 commit comments

Comments
 (0)