Class SuppressionDefinition
Defines the suppression of a kind of diagnostics. Suppressions must be defined as static fields or properties of an aspect classes. Suppressions are instantiated with Suppress(SuppressionDefinition, IDeclaration).
Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class SuppressionDefinition : Object
Constructors
Name | Description |
---|---|
SuppressionDefinition(String) | Initializes a new instance of the SuppressionDefinition class. |
Properties
Name | Description |
---|---|
SuppressedDiagnosticId | Gets the ID of the diagnostic to be suppressed (e.g. |