Open sandboxFocus

Constructor SuppressionDefinition

SuppressionDefinition(string)

Initializes a new instance of the SuppressionDefinition class.

Declaration
public SuppressionDefinition(string suppressedDiagnosticId)
Parameters
Type Name Description
string suppressedDiagnosticId

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