Skip to content

Integer numbers smaller than int.MinValue are not parsed correctly #964

@Molinarius

Description

@Molinarius

System.Linq.Dynamic.Core 1.7.0 with .NET 9: Integer numbers smaller than int.MinValue are not parsed correctly.

Example:

Console.WriteLine(new NumberParser(null).ParseIntegerLiteral(0, "-3000000000"));

Excepted Output:

-3000000000

Actual Output:

1294967296

Fiddle: https://dotnetfiddle.net/r7d9Q0

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions