Interface IDiagnosticSink
A sink that reports diagnostics reported from user code.
Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IDiagnosticSink
Methods
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. |