Open sandboxFocus

Method SuppressDiagnostic

SuppressDiagnostic(Func<TDeclaration, TTag, SuppressionDefinition>)

Suppresses a diagnostic for each declaration selected by the current object.

Declaration
void SuppressDiagnostic(Func<out TDeclaration, out TTag, SuppressionDefinition> suppression)
Parameters
Type Name Description
Func<TDeclaration, TTag, SuppressionDefinition> suppression

A function returning a SuppressionDefinition given a declaration.