mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 17:28:00 +02:00
Add Mixin methog flag
This commit is contained in:
parent
1625d511be
commit
0d680ca5c2
4 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,9 @@ namespace System.Reflection
|
|||
public bool CanReflect => Compiler.IsComptime ?
|
||||
Type.[Friend]Comptime_Method_GetInfo(mData.mComptimeMethodInstance).mComptimeMethodFlags.HasFlag(.NoReflect) :
|
||||
mData.mMethodData.[Friend]mFlags.HasFlag(.SpecialName);
|
||||
public bool IsMixin => Compiler.IsComptime ?
|
||||
Type.[Friend]Comptime_Method_GetInfo(mData.mComptimeMethodInstance).mMethodFlags.HasFlag(.Mixin) :
|
||||
mData.mMethodData.[Friend]mFlags.HasFlag(.Mixin);
|
||||
|
||||
public StringView Name => Compiler.IsComptime ?
|
||||
Type.[Friend]Comptime_Method_GetName(mData.mComptimeMethodInstance) :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue