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:
parent
0eb19245eb
commit
e8cfe1a0a9
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue