<PackageReference Include="Polly.Core" Version="8.0.0-alpha.9" />

UnconditionalSuppressMessageAttribute

/// Suppresses reporting of a specific rule violation, allowing multiple suppressions on a single code artifact.
public string Category { get; }

Gets the category identifying the classification of the attribute.

public string CheckId { get; }

Gets the identifier of the analysis tool rule to be suppressed.

public string Justification { get; set; }

Gets or sets the justification for suppressing the code analysis message.

public string MessageId { get; set; }

Gets or sets an optional argument expanding on exclusion criteria.

public string Scope { get; set; }

Gets or sets the scope of the code that is relevant for the attribute.

public string Target { get; set; }

Gets or sets a fully qualified path that represents the target of the attribute.

public UnconditionalSuppressMessageAttribute(string category, string checkId)

Initializes a new instance of the UnconditionalSuppressMessageAttribute class, specifying the category of the tool and the identifier for an analysis rule.