Enum LrcDiagnosticSeverity
- Namespace
- ModernLrc.Diagnostics
- Assembly
- ModernLrc.dll
Severity of a diagnostic emitted by the parser or writer.
[SuppressMessage("Design", "CA1028:Enum storage should be Int32", Justification = "byte is intentional — diagnostics are emitted in tight loops; saving 3 bytes per occurrence matters at scale.")]
public enum LrcDiagnosticSeverity : byte
Fields
Info = 0Informational; never prevents successful parse/write.
Warning = 1Recoverable concern.
Error = 2Strictness=Strict throws on first Error; Tolerant collects.