Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Diagnostics / Scoped­Diagnostic­Sink / Report

Method Report

Report(IDiagnostic)

Reports a diagnostic to the default location of the current ScopedDiagnosticSink..

Declaration
public void Report(IDiagnostic diagnostic)
Parameters
Type Name Description
IDiagnostic diagnostic

Report(IDiagnostic, IDiagnosticLocation)

Reports a parametric diagnostic by specifying its location.

Declaration
public void Report(IDiagnostic diagnostic, IDiagnosticLocation location)
Parameters
Type Name Description
IDiagnostic diagnostic
IDiagnosticLocation location
Implements
IDiagnosticSink.Report(IDiagnostic, IDiagnosticLocation)