Open sandboxFocus

Interface ISuppressibleDiagnostic

Represents a diagnostic that can be suppressed using Filter.

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

Properties

Name Description
Arguments

Gets the arguments of the diagnostic message. These often include members or types related to the diagnostic.

Id

Gets the ID of the diagnostic (e.g. CS0169).

InvariantMessage

Gets the message of the diagnostic formatted using the invariant (English language) culture.

Span

Gets the source file, line and column of the diagnostic, when available.