/// <inheritdoc /> protected override IntValueNode ParseValue(int runtimeValue) { if (runtimeValue > MaxValue) { throw ThrowHelper.NegativeIntType_ParseValue_IsNotNegative(this); } return(base.ParseValue(runtimeValue)); }
/// <inheritdoc /> protected override SerializationException CreateParseResultError(object runtimeValue) { throw ThrowHelper.NegativeIntType_ParseValue_IsNotNegative(this); }