StackFrameExtensions.GetNativeIP(StackFrame) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an interface pointer to the start of the native code for the method that is being executed.
public:
[System::Runtime::CompilerServices::Extension]
static IntPtr GetNativeIP(System::Diagnostics::StackFrame ^ stackFrame);
public static IntPtr GetNativeIP (this System.Diagnostics.StackFrame stackFrame);
static member GetNativeIP : System.Diagnostics.StackFrame -> nativeint
<Extension()>
Public Function GetNativeIP (stackFrame As StackFrame) As IntPtr
Parameters
- stackFrame
- StackFrame
A stack frame.
Returns
IntPtr
nativeint
An interface pointer to the start of the native code for the method that is being executed or Zero if you're targeting the .NET Framework.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.