次の方法で共有


Suppression Struct

Definition

Programmatic suppression of a Diagnostic by a DiagnosticSuppressor.

public struct Suppression : IEquatable<Microsoft.CodeAnalysis.Diagnostics.Suppression>
public struct Suppression
public readonly struct Suppression : IEquatable<Microsoft.CodeAnalysis.Diagnostics.Suppression>
type Suppression = struct
Public Structure Suppression
Implements IEquatable(Of Suppression)
Public Structure Suppression
Inheritance
Suppression
Implements

Properties

Descriptor

Descriptor for this suppression.

SuppressedDiagnostic

Diagnostic suppressed by this suppression.

Methods

Create(SuppressionDescriptor, Diagnostic)

Creates a suppression of a Diagnostic with the given SuppressionDescriptor.

Equals(Object)
Equals(Suppression)
GetHashCode()

Operators

Equality(Suppression, Suppression)
Inequality(Suppression, Suppression)

Applies to