Open sandboxFocus

Interface IDiagnosticDefinition

A non-generic base interface for DiagnosticDefinition<T>.

Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
[InternalImplement]
public interface IDiagnosticDefinition

Properties

Name Description
Category

Gets the category of the diagnostic (e.g. your product name).

HelpLinkUri

Gets the URL of the documentation page of the diagnostic, or null if the diagnostic has no documentation page. The IDE displays this URL as a hyperlink on the diagnostic identifier, for instance in the error list.

Id

Gets an unique identifier for the diagnostic (e.g. MY001).

MessageFormat

Gets the formatting string of the diagnostic message.

Severity

Gets the severity of the diagnostic.

Title

Gets a short title describing the diagnostic. This title is typically described in the solution explorer of the IDE and does not contain formatting string parameters.

Extension Methods

See Also