chceck name calling method or function

This forum is meant for questions and discussions about the X# language and tools
Post Reply
Juraj
Posts: 161
Joined: Mon Jan 09, 2017 7:00 am

chceck name calling method or function

Post 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
User avatar
SHirsch
Posts: 286
Joined: Tue Jan 30, 2018 8:23 am
Location: Germany

chceck name calling method or function

Post by SHirsch »

Hello Juraj,

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

Stefan
User avatar
Chris
Posts: 4907
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

chceck name calling method or function

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply