1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +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:

View file

@ -686,7 +686,16 @@ namespace System
Struct,
Enum,
TypeAlias,
Extension
Extension,
FloatX2,
FloatX3,
FloatX4,
DoubleX2,
DoubleX3,
DoubleX4,
Int64X2,
Int64X3,
Int64X4,
}
}