SuppressionInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |