Open sandboxFocus

Method ReportDiagnostic

ReportDiagnostic(Func<TDeclaration, TTag, IDiagnostic>)

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

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

A function returning an IDiagnostic given a declaration.