Skip to main content
Source: Al0054ToAl0056DiagnosticsAlignmentAnalyzer.cs

Description

The documentation for a diagnostic rule has a title, severity, or category that does not match the actual values in the analyzer source code. Documentation should stay in sync with the implementation.

Bad Code

<!-- Documentation says Warning but source has Error -->

| AL0099 | Design | Warning | Some rule |

Good Code

<!-- Documentation matches source -->

| AL0099 | Design | Error | Some rule |

Properties

  • Category: VersionManagement
  • Severity: Warning
  • Enabled by default: True
  • Code fix available: False

Configuration

dotnet_diagnostic.AL0056.severity = warning