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() |
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla