How can you get the current class name without using StackTrace?

Discussion in 'C#' started by codeunlock, Apr 29, 2007.

  1. codeunlock

    codeunlock New Member

    Apr 18, 2007
    Likes Received:
    Trophy Points:
    Since the call stack can be changed in release, as functions are
    inlined, how can you be certain to get the current class name of any
    method that cares to know? Even IF it is an inlined method?

    Seems impossible to do.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice