mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
Listens to Static/Instance flags for method enumeration
This commit is contained in:
parent
014ce28195
commit
52033be6ad
2 changed files with 4 additions and 5 deletions
|
@ -381,11 +381,9 @@ namespace System.Reflection
|
||||||
mIdx++;
|
mIdx++;
|
||||||
if (mIdx == mTypeInstance.[Friend]mMethodDataCount)
|
if (mIdx == mTypeInstance.[Friend]mMethodDataCount)
|
||||||
return false;
|
return false;
|
||||||
#unwarn
|
|
||||||
var methodData = &mTypeInstance.[Friend]mMethodDataPtr[mIdx];
|
var methodData = &mTypeInstance.[Friend]mMethodDataPtr[mIdx];
|
||||||
/*bool matches = (mBindingFlags.HasFlag(BindingFlags.Static) && (methodData.mFlags.HasFlag(FieldFlags.Static)));
|
bool matches = (mBindingFlags.HasFlag(BindingFlags.Static) && (methodData.mFlags.HasFlag(.Static)));
|
||||||
matches |= (mBindingFlags.HasFlag(BindingFlags.Instance) && (!methodData.mFlags.HasFlag(FieldFlags.Static)));*/
|
matches |= (mBindingFlags.HasFlag(BindingFlags.Instance) && (!methodData.mFlags.HasFlag(.Static)));
|
||||||
bool matches = true;
|
|
||||||
if (matches)
|
if (matches)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,8 @@ namespace IDE.Debugger
|
||||||
AllowProperties = 0x20,
|
AllowProperties = 0x20,
|
||||||
MemoryAddress = 0x40,
|
MemoryAddress = 0x40,
|
||||||
MemoryWatch = 0x80,
|
MemoryWatch = 0x80,
|
||||||
Symbol = 0x100
|
Symbol = 0x100,
|
||||||
|
StepIntoCall = 0x200
|
||||||
}
|
}
|
||||||
|
|
||||||
[Reflect]
|
[Reflect]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue