mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed IsReadOnly
This commit is contained in:
parent
1311c8fa09
commit
eaed87e1b7
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ namespace System.Reflection
|
|||
(Type.[Friend]Comptime_Method_GetInfo(mData.mComptimeMethodInstance).mMethodFlags & .MethodAccessMask) == 0 :
|
||||
(mData.mMethodData.[Friend]mFlags & .MethodAccessMask) == 0;
|
||||
public bool IsReadOnly => Compiler.IsComptime ?
|
||||
(Type.[Friend]Comptime_Method_GetInfo(mData.mComptimeMethodInstance).mMethodFlags & .ReadOnly) == 0 :
|
||||
(mData.mMethodData.[Friend]mFlags & .ReadOnly) == 0;
|
||||
Type.[Friend]Comptime_Method_GetInfo(mData.mComptimeMethodInstance).mMethodFlags.HasFlag(.ReadOnly) :
|
||||
mData.mMethodData.[Friend]mFlags.HasFlag(.ReadOnly);
|
||||
|
||||
public StringView Name => Compiler.IsComptime ?
|
||||
Type.[Friend]Comptime_Method_GetName(mData.mComptimeMethodInstance) :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue