A sink that reports diagnostics reported from user code.
Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
[InternalImplement]
public interface IDiagnosticSink
Methods
Name | Description |
---|---|
Report(IDiagnostic, IDiagnosticLocation?, IDiagnosticSource) | Reports a parametric diagnostic by specifying its location. |
Suppress(ISuppression, IDeclaration, IDiagnosticSource) | Suppresses a diagnostic by specifying the declaration in which the suppression must be effective. |