mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fix TypeOf TypeCode in AttributeInfo.bf
This commit is contained in:
parent
474454382f
commit
9c6afa8134
1 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,7 @@ namespace System.Reflection
|
|||
.Double:
|
||||
let attrData = AttributeInfo.Decode!<int64>(mData);
|
||||
args[argIdx] = Variant.Create(attrData);
|
||||
case (TypeCode)typeof(TypeCode).MaxValue + 8: //BfConstType_TypeOf
|
||||
case (TypeCode)typeof(TypeCode).MaxValue + 9: //BfConstType_TypeOf
|
||||
let argTypeId = AttributeInfo.Decode!<int32>(mData);
|
||||
args[argIdx] = Variant.Create(Type.[Friend]GetType((.)argTypeId));
|
||||
case (TypeCode)255:
|
||||
|
@ -463,7 +463,7 @@ namespace System.Reflection
|
|||
.Double:
|
||||
let attrData = AttributeInfo.Decode!<int64>(mData);
|
||||
args[argIdx] = scope:: box attrData;
|
||||
case (TypeCode)typeof(TypeCode).MaxValue + 8: //BfConstType_TypeOf
|
||||
case (TypeCode)typeof(TypeCode).MaxValue + 9: //BfConstType_TypeOf
|
||||
let argTypeId = AttributeInfo.Decode!<int32>(mData);
|
||||
args[argIdx] = Type.[Friend]GetType((.)argTypeId);
|
||||
case (TypeCode)255:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue