xsharp.eu • chceck name calling method or function
Page 1 of 1

chceck name calling method or function

Posted: Wed Aug 18, 2021 3:36 pm
by Juraj
I have a function that I call many times from different parts of the application (app is WPF in Core dialect). I can find out in this function the name of the method or function that called this function. It is possible?

Juraj

chceck name calling method or function

Posted: Wed Aug 18, 2021 3:50 pm
by SHirsch
Hello Juraj,

maybe this helps as starting point:
https://docs.microsoft.com/de-de/dotnet ... work-4.6.2

Stefan

chceck name calling method or function

Posted: Wed Aug 18, 2021 4:44 pm
by Chris
...and here you can see how this is used to implement some of the related runtime functions in the X# runtime:

https://github.com/X-Sharp/XSharpPublic ... /Debug.prg