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 Metalama.Framework.Diagnostics.IDiagnosticSink.Suppress(Metalama.Framework.Diagnostics.SuppressionDefinition,Metalama.Framework.Code.IDeclaration,Metalama.Framework.Diagnostics.IDiagnosticSource).
Inheritance
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. |