次の方法で共有


OperationAnalysisContext.ReportDiagnostic(Diagnostic) Method

Definition

Report a Diagnostic about a SyntaxNode.

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)

Parameters

diagnostic
Diagnostic

Diagnostic to be reported.

Applies to