GetMethodBody(MethodBase, MethodBodyAbstractionLevel)
Decompiles a method and gets an AST representation of it.
Declaration
IMethodBody GetMethodBody(MethodBase method, MethodBodyAbstractionLevel abstractionLevel)
Parameters
Type | Name | Description |
---|---|---|
MethodBase | method | The method to decompile. |
MethodBodyAbstractionLevel | abstractionLevel | The required level of abstraction and detail. |
Returns
Type | Description |
---|---|
IMethodBody | AST representing the |