Table of Contents

Enum DiagnosticCategory

Namespace
DialogueDown.Diagnostics
Assembly
DialogueDown.dll

The kind of rule a DialogueDown.Diagnostics.DiagnosticDescriptor belongs to. Each category owns a range of DLG#### codes — Syntax is DLG1xxx, Semantic is DLG2xxx, Style is DLG3xxx — so a code's range names its category, and a descriptor checks that the two agree. Part of the public diagnostic view (LocatedDiagnostic), so its members carry explicit, stable values.

public enum DiagnosticCategory

Fields

Semantic = 1

A meaning-level problem: references that do not resolve, conflicts.

Style = 2

A stylistic or advisory note: the script is valid but could read better.

Syntax = 0

A problem in the script's surface: text that does not parse as intended, or Markdown that never becomes dialogue.