Records a recoverable deserialization diagnostic and skips the current TOML value when the reader is still positioned on the same token that failed.
protected static bool TryAddDeserializationDiagnostic(TomlReader reader, TomlTokenType tokenType, TomlSourceSpan? span, TomlException exception)
The TOML reader.
The token type before the read attempt.
The source span before the read attempt.
The exception raised by the read attempt.
true when the diagnostic was recorded and the current value was skipped.