> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.compiler/yarn.compiler.diagnostic/yarn.compiler.diagnostic.severity.md).

# Severity

Property in [Diagnostic](/3.1/api/csharp/yarn.compiler/yarn.compiler.diagnostic.md)

## Summary

Gets or sets the severity of the issue.

```csharp
public DiagnosticSeverity Severity { get; set; }
```
