共用方式為


SuppressionAnalysisContext.ReportSuppression(Suppression) Method

Definition

Report a Suppression for a reported diagnostic.

public void ReportSuppression (Microsoft.CodeAnalysis.Diagnostics.Suppression suppression);
member this.ReportSuppression : Microsoft.CodeAnalysis.Diagnostics.Suppression -> unit
Public Sub ReportSuppression (suppression As Suppression)

Parameters

suppression
Suppression

Applies to