Delen via


SyntaxTreeAnalysisContext.ReportDiagnostic(Diagnostic) Method

Definition

Report a Diagnostic about a SyntaxTree.

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