SuppressionInfo.Attribute Property

Definition

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

public:
 property Microsoft::CodeAnalysis::AttributeData ^ Attribute { Microsoft::CodeAnalysis::AttributeData ^ get(); };
public Microsoft.CodeAnalysis.AttributeData Attribute { get; }
public Microsoft.CodeAnalysis.AttributeData? Attribute { get; }
member this.Attribute : Microsoft.CodeAnalysis.AttributeData
Public ReadOnly Property Attribute As AttributeData

Property Value

Applies to