fix: edge case missed (#3144)

Follow-up to https://github.com/discord-net/Discord.Net/pull/3142 (commit 0c1536d).
This commit is contained in:
OverwrittenCode
2025-06-11 10:13:08 +01:00
committed by GitHub
parent 0c1536d48a
commit 1e5090012d

View File

@@ -20,6 +20,7 @@ namespace Discord
TypeCode.UInt16 => (ushort.MinValue, ushort.MaxValue), TypeCode.UInt16 => (ushort.MinValue, ushort.MaxValue),
TypeCode.Int32 => (int.MinValue, int.MaxValue), TypeCode.Int32 => (int.MinValue, int.MaxValue),
TypeCode.UInt32 => (uint.MinValue, uint.MaxValue), TypeCode.UInt32 => (uint.MinValue, uint.MaxValue),
TypeCode.UInt64 => (ulong.MinValue, Int53Max),
_ => (Int53Min, Int53Max) _ => (Int53Min, Int53Max)
}; };