WellKnownDiagnosticTags Class

Definition

public ref class WellKnownDiagnosticTags abstract sealed
public static class WellKnownDiagnosticTags
type WellKnownDiagnosticTags = class
Public Class WellKnownDiagnosticTags
Inheritance
WellKnownDiagnosticTags

Fields

AnalyzerException

Indicates that the diagnostic is related to an exception thrown by a DiagnosticAnalyzer.

Build

Indicates that the diagnostic is related to build.

CompilationEnd

Indicates that the diagnostic is a compilation end diagnostic reported from a compilation end action.

Compiler

Indicates that the diagnostic is reported by the compiler.

CustomObsolete

Indicates that the diagnostic is an obsolete diagnostic with a custom ID specified by the 'DiagnosticId' property on 'ObsoleteAttribute'.

CustomSeverityConfigurable

Indicates that the analyzer reporting the diagnostic supports custom severity configuration mechanism(s) to allow end users to configure effective severity of the diagnostic. Such analyzers are always considered to be enabled by the compiler and always receive analyzer callbacks. Additionally, severity of the diagnostics reported with this custom tag is not altered by analyzer config options to configure severity, i.e. 'dotnet_diagnostic' and 'dotnet_analyzer_diagnostic' entries.

EditAndContinue

Indicates that the diagnostic is related to edit and continue.

NotConfigurable

Indicates that the diagnostic is not configurable, i.e. it cannot be suppressed or filtered or have its severity changed.

Telemetry

Indicates that the diagnostic can be used for telemetry

Unnecessary

Indicates that the diagnostic is related to some unnecessary source code.

Applies to