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:
parent
19a2855da9
commit
2ead8e5377
2 changed files with 30 additions and 10 deletions
|
@ -69,6 +69,9 @@ namespace System.Reflection
|
|||
var attrDataType = Decode!<TypeCode>(data);
|
||||
switch (attrDataType)
|
||||
{
|
||||
case .NullPtr:
|
||||
args[argIdx] = null;
|
||||
break;
|
||||
case .Int8,
|
||||
.UInt8,
|
||||
.Char8,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue