Defines a diagnostic that does not accept any parameters. For a diagnostic that accepts parameters, use DiagnosticDefinition<T>.
Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
public sealed class DiagnosticDefinition : DiagnosticDefinition<None>, IDiagnosticDefinition, IDiagnosticConstructors
| Name | Description |
|---|---|
| DiagnosticDefinition(string, Severity, string, string?, string?) |
Methods
| Name | Description |
|---|---|
| WithExtensions(ImmutableArray<IDiagnosticExtension>) |