Open sandboxFocus

Method ReportDiagnostic

ReportDiagnostic(Func<TDeclaration, IDiagnostic>)

Reports a diagnostic for each declaration selected by the the current object.

Declaration
void ReportDiagnostic(Func<out TDeclaration, IDiagnostic> diagnostic)
Parameters
Type Name Description
Func<TDeclaration, IDiagnostic> diagnostic

A function returning an IDiagnostic given a declaration.