Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetMethodBase()

MethodBase System.Diagnostics.StackFrameHelper.GetMethodBase ( int i)
inline

Definition at line 131 of file StackFrameHelper.cs.

132 {
133 IntPtr intPtr = rgMethodHandle[i];
134 if (intPtr == IntPtr.Zero)
135 {
136 return null;
137 }
138 IRuntimeMethodInfo typicalMethodDefinition = RuntimeMethodHandle.GetTypicalMethodDefinition(new RuntimeMethodInfoStub(intPtr, this));
139 return RuntimeType.GetMethodBase(typicalMethodDefinition);
140 }

References System.RuntimeType.GetMethodBase(), System.RuntimeMethodHandle.GetTypicalMethodDefinition(), System.Diagnostics.StackFrameHelper.rgMethodHandle, and System.IntPtr.Zero.

Referenced by System.Diagnostics.StackFrame.StackFrame(), and System.Diagnostics.StackFrame.BuildStackFrame().