|
2 | 2 | # FORMAT:
|
3 | 3 | # 'Category': Comma separate list of 'StartId-EndId' or 'Id' or 'Prefix'
|
4 | 4 |
|
5 |
| -# FxCop rules |
6 |
| -Design: CA1000-CA1099, CA2210 |
7 |
| -Globalization: CA1300-CA1399, CA2101 |
8 |
| -Mobility: CA1600-CA1699 |
9 |
| -Performance: CA1800-CA1899, HA |
10 |
| -Security: CA2100-CA2199, CA2300-CA2399, CA3000-CA3147, CA5300-CA5499 |
11 |
| -Usage: CA1801, CA1806, CA1816, CA2200-CA2209, CA2211-CA2299 |
12 |
| -Naming: CA1700-CA1799 |
13 |
| -Maintainability: CA1500-CA1599 |
14 |
| -Reliability: CA2000-CA2099, CA9999 |
15 |
| -Documentation: CA1200-CA1299 |
| 5 | +# Code Analysis (CA) rules - https://docs.microsoft.com/visualstudio/code-quality/code-analysis-for-managed-code-warnings |
| 6 | +# |
| 7 | +# The ranges below represent the **currently used IDs** for the corresponding category. |
| 8 | +# When implementing a new rule for the category: |
| 9 | +# 1. Choose the rule ID immediately following the range end. |
| 10 | +# 2. Update the range end to the chosen rule ID. |
| 11 | +# |
| 12 | +Design: CA2210, CA1000-CA1069 |
| 13 | +Globalization: CA2101, CA1300-CA1309 |
| 14 | +Mobility: CA1600-CA1601 |
| 15 | +Performance: HA, CA1800-CA1829 |
| 16 | +Security: CA2100-CA2153, CA2300-CA2330, CA3000-CA3147, CA5300-CA5403 |
| 17 | +Usage: CA1801, CA1806, CA1816, CA2200-CA2209, CA2211-CA2247 |
| 18 | +Naming: CA1700-CA1726 |
| 19 | +Maintainability: CA1500-CA1509 |
| 20 | +Reliability: CA9999, CA2000-CA2014 |
| 21 | +Documentation: CA1200-CA1200 |
16 | 22 |
|
17 | 23 | # Microsoft CodeAnalysis API rules
|
18 | 24 | MicrosoftCodeAnalysisCorrectness: RS1000-RS1999
|
|
0 commit comments