StackFrame.GetILOffset Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the offset from the start of the Microsoft intermediate language (MSIL) code for the method that is executing. This offset might be an approximation depending on whether the just-in-time (JIT) compiler is generating debugging code. The generation of this debugging information is controlled by the DebuggableAttribute attribute.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System.Int32The offset from the start of the MSIL code for the method that is executing.
Show: