mono.reflection | useful reflection helpers , including an IL disassembler | Reflection library
kandi X-RAY | mono.reflection Summary
kandi X-RAY | mono.reflection Summary
Mono.Reflection is an helper library to complement the System.Reflection and System.Reflection.Emit namespaces. It works on both Mono >= 2.8 and .net >= 4.0.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mono.reflection
mono.reflection Key Features
mono.reflection Examples and Code Snippets
Community Discussions
Trending Discussions on mono.reflection
QUESTION
I'm trying to interpret a CIL instruction by instruction. I'm using Mono.Reflection to get a list of instructions and I don't know how to interpret 'ldarga.s'.
I know "ldarga" - Load the argument address to the evaluation stack." but what is the argument / index of 'ldarga.s', i.e. load / push on stack? - the instruction is under IL_0004 the following list of assemblers.
another instruction "ldarg.0" (without "a") argumet load / push "first" on the stack, "ldarg.1" argumet load / push secound on the stack In another example, "ldloca.s" - "Loads the address of the local variable at the specified index into the evaluation stack.") index is in the instruction operand.
Here is my code I have function "Funkcja1" in class Test
...ANSWER
Answered 2020-Mar-21 at 05:00Operand in ldarga.s can by System.Reflection.ParameterInfo.
and index = parameterInfo.Position;
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mono.reflection
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page