diff --git a/BeefLibs/corlib/src/Reflection/AttributeInfo.bf b/BeefLibs/corlib/src/Reflection/AttributeInfo.bf index fb8eb572..4bbed483 100644 --- a/BeefLibs/corlib/src/Reflection/AttributeInfo.bf +++ b/BeefLibs/corlib/src/Reflection/AttributeInfo.bf @@ -189,7 +189,7 @@ namespace System.Reflection .Double: let attrData = AttributeInfo.Decode!(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!(mData); args[argIdx] = Variant.Create(Type.[Friend]GetType((.)argTypeId)); case (TypeCode)255: @@ -463,7 +463,7 @@ namespace System.Reflection .Double: let attrData = AttributeInfo.Decode!(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!(mData); args[argIdx] = Type.[Friend]GetType((.)argTypeId); case (TypeCode)255: