PureSharp diagnostics

PureSharp exposes seven documented diagnostics across referential transparency, local-variable purity, naming, and FluentIf validation.

IDPurposeDefault
RT0001Static mutable field access in [PureMethod]Error
RT0002Non-pure method call in [PureMethod]Error
RT0003I/O operation in [PureMethod]Error
LVP0001Reassignment to an immutable localError
LVP0002Immutable local missing declaration-time initializationError
LVP0003Suggestion for an effectively immutable localWarning
FIF0001FluentIf chain not terminated with .Else(...)Error

Configuration

[*.cs]
dotnet_diagnostic.RT0001.severity = error
dotnet_diagnostic.LVP0003.severity = warning

For the complete diagnostic contract, triggering conditions, compatibility rules, and message semantics, read docs/DIAGNOSTICS.md.