Class VerifierDiagnosticReference
- Namespace
- DotBoxD.Kernels.Verifier.Diagnostics
- Assembly
- DotBoxD.Kernels.Verifier.dll
Public reference entry for a single verifier diagnostic Code.
public sealed record VerifierDiagnosticReference : IEquatable<VerifierDiagnosticReference>
- Inheritance
-
VerifierDiagnosticReference
- Implements
- Inherited Members
Constructors
VerifierDiagnosticReference(string, VerifierDiagnosticCategory, string, string, string, bool)
Public reference entry for a single verifier diagnostic Code.
public VerifierDiagnosticReference(string Code, VerifierDiagnosticCategory Category, string Meaning, string LikelyCause, string Remediation, bool ExpectedFromCompilerOutput)
Parameters
CodestringThe stable
V-*diagnostic code.CategoryVerifierDiagnosticCategoryWhat the code most likely indicates.
MeaningstringA short human-readable description of the rule that was violated.
LikelyCausestringThe most common reason this code is emitted.
RemediationstringGuidance for a consumer or operator investigating the code.
ExpectedFromCompilerOutputboolWhether well-formed output from the canonical DotBoxD.Kernels compiler can legitimately produce this code. Codes that are
falsehere should never appear for a trusted, current artifact and are strong tampering or host-mismatch signals.
Properties
Category
What the code most likely indicates.
public VerifierDiagnosticCategory Category { get; init; }
Property Value
Code
The stable V-* diagnostic code.
public string Code { get; init; }
Property Value
ExpectedFromCompilerOutput
Whether well-formed output from the canonical DotBoxD.Kernels compiler can legitimately produce this code.
Codes that are false here should never appear for a trusted, current artifact and are
strong tampering or host-mismatch signals.
public bool ExpectedFromCompilerOutput { get; init; }
Property Value
LikelyCause
The most common reason this code is emitted.
public string LikelyCause { get; init; }
Property Value
Meaning
A short human-readable description of the rule that was violated.
public string Meaning { get; init; }
Property Value
Remediation
Guidance for a consumer or operator investigating the code.
public string Remediation { get; init; }