mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Merged comptime reflection info into normal reflection data types
This commit is contained in:
parent
b0c6dd7e43
commit
e7f0b21cf6
20 changed files with 432 additions and 453 deletions
|
@ -27,6 +27,9 @@ namespace System.Reflection
|
|||
public bool IsStatic => mFieldData.mFlags.HasFlag(.Static);
|
||||
public bool IsInstanceField => !mFieldData.mFlags.HasFlag(.Static) && !mFieldData.mFlags.HasFlag(.Const);
|
||||
public StringView Name => mFieldData.mName;
|
||||
public int32 FieldIdx => Compiler.IsComptime ?
|
||||
mFieldData.mCustomAttributesIdx :
|
||||
-1;
|
||||
|
||||
public Result<void, Error> SetValue(Object obj, Object value)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue