Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Diagnostics / Diagnostic­Definition

Class DiagnosticDefinition

Defines a diagnostic that does not accept any parameters. For a diagnostic that accepts parameters, use DiagnosticDefinition<T>.

Inheritance
DiagnosticDefinition
Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
public sealed class DiagnosticDefinition : DiagnosticDefinition<None>, IDiagnosticDefinition, IDiagnostic

Constructors

Name Description
DiagnosticDefinition(String, Severity, String, String, String)

Methods

Name Description
WithCodeFixes(CodeFix[])

Explicit Interface Implementations

Name Description
IDiagnostic.Arguments
IDiagnostic.CodeFixes
IDiagnostic.Definition

See Also