1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

handle large uint constExpr printing

This commit is contained in:
EinBurgbauer 2021-12-30 15:32:38 +01:00
parent 0eb19245eb
commit e8cfe1a0a9
2 changed files with 4 additions and 0 deletions

View file

@ -1126,6 +1126,8 @@ namespace System.Reflection
(*(float*)&mValue).ToString(strBuffer);
case typeof(double):
(*(double*)&mValue).ToString(strBuffer);
case typeof(uint64), typeof(uint):
(*(uint64*)&mValue).ToString(strBuffer);
default:
mValue.ToString(strBuffer);
}

View file

@ -1126,6 +1126,8 @@ namespace System.Reflection
(*(float*)&mValue).ToString(strBuffer);
case typeof(double):
(*(double*)&mValue).ToString(strBuffer);
case typeof(uint64), typeof(uint):
(*(uint64*)&mValue).ToString(strBuffer);
default:
mValue.ToString(strBuffer);
}