“[Lightweight Function]” in the call stack

后端 未结 3 1465
你的背包
你的背包 2021-02-12 13:32

I\'m debugging a program (VS2008), and I was stepping through lines of code. I came across one line where a delegate function was being called, and I tried to step into it. Howe

3条回答
  •  梦如初夏
    2021-02-12 14:03

    Callstack for DynamicMethod (both in Debug and Release mode):

    [Lightweight Function]  
    [Native to Managed Transition]  
    mscorlib.dll!System.Reflection.Emit.DynamicMethod.Invoke(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture) + 0x199 bytes
    

    Pure

    [Lightweight Function]

    frame can be observed when a delegate to a dynamic method is called.

提交回复
热议问题