mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Dynamic boxing
This commit is contained in:
parent
7036433e5d
commit
da5b81f419
14 changed files with 266 additions and 151 deletions
|
@ -18,14 +18,15 @@ namespace IDE.Compiler
|
|||
|
||||
ReflectAlwaysIncludeType = 0x10,
|
||||
ReflectAlwaysIncludeAll = 0x20,
|
||||
ReflectAssumeInstantiated = 0x40,
|
||||
ReflectStaticFields = 0x80,
|
||||
ReflectNonStaticFields = 0x100,
|
||||
ReflectStaticMethods = 0x200,
|
||||
ReflectNonStaticMethods = 0x400,
|
||||
ReflectConstructors = 0x800,
|
||||
ReflectAssumeInstantiated = 0x40,
|
||||
ReflectBoxing = 0x80,
|
||||
ReflectStaticFields = 0x100,
|
||||
ReflectNonStaticFields = 0x200,
|
||||
ReflectStaticMethods = 0x400,
|
||||
ReflectNonStaticMethods = 0x800,
|
||||
ReflectConstructors = 0x1000,
|
||||
|
||||
All = 0xFFF
|
||||
All = 0x1FFF
|
||||
};
|
||||
|
||||
[CallingConvention(.Stdcall), CLink]
|
||||
|
@ -401,6 +402,7 @@ namespace IDE.Compiler
|
|||
orFlags |= .ReflectAlwaysIncludeType | .ReflectAlwaysIncludeAll | .ReflectAssumeInstantiated;
|
||||
}
|
||||
|
||||
SetFlag(typeOption.mReflectBoxing, .ReflectBoxing);
|
||||
SetFlag(typeOption.mReflectStaticFields, .ReflectStaticFields);
|
||||
SetFlag(typeOption.mReflectNonStaticFields, .ReflectNonStaticFields);
|
||||
SetFlag(typeOption.mReflectStaticMethods, .ReflectStaticMethods);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue