samedi 5 décembre 2020

C# Reflection how to get local function inside a method

Hello i am trying to list all local functions inside of a method, but i dont find any way to get those methods.

Example:

enter image description here

I want to get the MyFunction MethodInfo, using something like Assembly.EntryPoint.GetLocalMethods()

Thanks for your time and please tell me if i was not clear enough.





Aucun commentaire:

Enregistrer un commentaire