CodeBlockAnalysisContext.ReportDiagnostic(Diagnostic) Method

Definition

Report a Diagnostic about a code block.

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