SemanticModelAnalysisContext.ReportDiagnostic(Diagnostic) 方法

定义

报告有关 Diagnostic a SemanticModel.

public:
 void ReportDiagnostic(Microsoft::CodeAnalysis::Diagnostic ^ diagnostic);
public void ReportDiagnostic (Microsoft.CodeAnalysis.Diagnostic diagnostic);
member this.ReportDiagnostic : Microsoft.CodeAnalysis.Diagnostic -> unit
Public Sub ReportDiagnostic (diagnostic As Diagnostic)

参数

diagnostic
Diagnostic

Diagnostic 要报告。

适用于