mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 08:06:04 +02:00
Support for passing Type to attributes
This commit is contained in:
parent
eb55b2d731
commit
617cdcbede
5 changed files with 131 additions and 94 deletions
|
@ -92,6 +92,9 @@ namespace System.Reflection
|
|||
.Double:
|
||||
let attrData = Decode!<int64>(data);
|
||||
args[argIdx] = scope:AttrBlock box attrData;
|
||||
case (TypeCode)51: //BfConstType_TypeOf
|
||||
let argTypeId = Decode!<int32>(data);
|
||||
args[argIdx] = Type.[Friend]GetType((.)argTypeId);
|
||||
case (TypeCode)255:
|
||||
let stringId = Decode!<int32>(data);
|
||||
String str = String.[Friend]sIdStringLiterals[stringId];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue