> ## Documentation Index
> Fetch the complete documentation index at: https://ancplua.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AL0056 - Diagnostic documentation mismatch

> Title, severity, or category in docs does not match source

Source: [Al0054ToAl0056DiagnosticsAlignmentAnalyzer.cs](https://github.com/ANcpLua/ANcpLua.Analyzers/blob/main/src/ANcpLua.Analyzers/Analyzers/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

```markdown theme={null}
<!-- Documentation says Warning but source has Error -->

| AL0099 | Design | Warning | Some rule |
```

## Good Code

```markdown theme={null}
<!-- Documentation matches source -->

| AL0099 | Design | Error | Some rule |
```

## Properties

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

## Configuration

```editorconfig theme={null}
dotnet_diagnostic.AL0056.severity = warning
```
