Partager via


SuppressionInfo Class

Definition

Contains information about the source of diagnostic suppression.

public ref class SuppressionInfo sealed
public sealed class SuppressionInfo
type SuppressionInfo = class
Public NotInheritable Class SuppressionInfo
Inheritance
SuppressionInfo

Properties

Attribute

If the diagnostic was suppressed by an attribute, then returns that attribute. Otherwise, returns null.

Id

Id of the suppressed diagnostic.

ProgrammaticSuppressions

If the diagnostic was suppressed by one or more programmatic suppressions by DiagnosticSuppressor(s), then returns the corresponding Suppressions, in no specific order. Otherwise, returns an empty array.

Applies to