Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Diagnostics / IDiagnostic­Sink

Interface IDiagnosticSink

A sink that reports diagnostics reported from user code.

Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
public interface IDiagnosticSink


Name Description
Report(IDiagnostic, IDiagnosticLocation)

Reports a parametric diagnostic by specifying its location.

Suggest(CodeFix, IDiagnosticLocation)

Suggest a code fix without reporting a diagnostic.

Suppress(SuppressionDefinition, IDeclaration)

Suppresses a diagnostic by specifying the declaration in which the suppression must be effective.

See Also