MetalamaAPI documentationAspect APIMetalama.​Framework.​DiagnosticsSuppression­DefinitionSuppression­Definition
Open sandboxFocus

SuppressionDefinition Constructor

SuppressionDefinition(String)

Initializes a new instance of the SuppressionDefinition class.

Declaration
public SuppressionDefinition(string suppressedDiagnosticId)
Parameters
Type Name Description
System.String suppressedDiagnosticId

The ID of the diagnostic to be suppressed (e.g. CS0169).