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

Improved attribute encoding for nulls

This commit is contained in:
Brian Fiete 2023-06-24 06:03:46 -04:00
parent 19a2855da9
commit 2ead8e5377
2 changed files with 30 additions and 10 deletions

View file

@ -69,6 +69,9 @@ namespace System.Reflection
var attrDataType = Decode!<TypeCode>(data);
switch (attrDataType)
{
case .NullPtr:
args[argIdx] = null;
break;
case .Int8,
.UInt8,
.Char8,