You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using the latest version (11.2.1), deserializing long.MinValue is not possible. I just tried to update from 8.1.2 where it still worked.
To Reproduce
var deserializer = new Deserializer();
deserializer.Deserialize<long>(long.MinValue.ToString());
This throws the following exception:
YamlDotNet.Core.YamlException : (Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 21, Idx: 20): Exception during deserialization
----> System.OverflowException : Arithmetic operation resulted in an overflow.
This seems to be originating from ScalarNodeDeserializer.DeserializeIntegerHelper.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using the latest version (11.2.1), deserializing
long.MinValue
is not possible. I just tried to update from8.1.2
where it still worked.To Reproduce
This throws the following exception:
This seems to be originating from
ScalarNodeDeserializer.DeserializeIntegerHelper
.The text was updated successfully, but these errors were encountered: