Open sandboxFocus

Class DiagnosticsQueryExtensions

Inheritance
DiagnosticsQueryExtensions
Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class DiagnosticsQueryExtensions

Methods

Name Description
ReportDiagnostic<TDeclaration>(IQuery<TDeclaration>, Func<TDeclaration, IDiagnostic>)

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

ReportDiagnostic<TDeclaration, TTag>(ITaggedQuery<TDeclaration, TTag>, Func<TDeclaration, TTag, IDiagnostic>)

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

SuppressDiagnostic<TDeclaration>(IQuery<TDeclaration>, Func<TDeclaration, SuppressionDefinition>)

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

SuppressDiagnostic<TDeclaration, TTag>(ITaggedQuery<TDeclaration, TTag>, Func<TDeclaration, TTag, SuppressionDefinition>)

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