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

Update TypeCode, fixed TypeOf value

This commit is contained in:
Brian Fiete 2022-01-14 07:08:09 -05:00
parent e441032e4e
commit 3a87b926b3
2 changed files with 11 additions and 2 deletions

View file

@ -92,7 +92,7 @@ namespace System.Reflection
.Double:
let attrData = Decode!<int64>(data);
args[argIdx] = scope:AttrBlock box attrData;
case (TypeCode)51: //BfConstType_TypeOf
case (TypeCode)typeof(TypeCode).MaxValue + 8: //BfConstType_TypeOf
let argTypeId = Decode!<int32>(data);
args[argIdx] = Type.[Friend]GetType((.)argTypeId);
case (TypeCode)255: