SuppressionDescriptor 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.
Provides a description about a programmatic suppression of a Diagnostic by a DiagnosticSuppressor.
public sealed class SuppressionDescriptor : IEquatable<Microsoft.CodeAnalysis.SuppressionDescriptor>
type SuppressionDescriptor = class
interface IEquatable<SuppressionDescriptor>
Public NotInheritable Class SuppressionDescriptor
Implements IEquatable(Of SuppressionDescriptor)
- Inheritance
-
SuppressionDescriptor
- Implements
Constructors
SuppressionDescriptor(String, String, LocalizableString) |
Create a SuppressionDescriptor, which provides a localizable justification about a programmatic suppression of a Diagnostic. |
SuppressionDescriptor(String, String, String) |
Create a SuppressionDescriptor, which provides a justification about a programmatic suppression of a Diagnostic.
NOTE: For localizable |
Properties
Id |
An unique identifier for the suppression. |
Justification |
A localizable justification about the suppression. |
SuppressedDiagnosticId |
Identifier of the suppressed diagnostic, i.e. Id. |
Methods
Equals(Object) | |
Equals(SuppressionDescriptor) | |
GetHashCode() |