I created this MethodBodyReader class for the issue I faced:

Class MethodBodyReader
    Public Shared Function GetInstructions(caller As MethodDefinition) As 
Mono.Collections.Generic.Collection(Of Mono.Cecil.Cil.Instruction)
        Return caller.Body.Instructions

    End Function

End Class

Now, I am facing another issue:
In list of methods which are of type *MethodDefinition, *I want to pass a 
method(MethodInfo type) and search. Is that possible ? Is there a way 
around it ?

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to