Thanks! I really didn't want to have to compile in debug, so NoInlining does
the trick.
Mark Hurd wrote:
The JIT compiler is inlining them.
If you compile with -debug+ or add
using System.Runtime.CompilerServices;
and
[MethodImpl(MethodImplOptions.NoInlining)]
prior to the methods
The JIT compiler is inlining them.
If you compile with -debug+ or add
using System.Runtime.CompilerServices;
and
[MethodImpl(MethodImplOptions.NoInlining)]
prior to the methods you need in the stack, you can guarantee it to be so.
Regards,
Mark Hurd, B.Sc.(Ma.)(Hons.)
===
Hello,
I have been testing some code (v1.1) dealing with the StackTrace and StackFrame
classes. I have found some interesting things about
the StackFrames that I can't explain [with documentation] when deriving classes
and getting the StackFrame information from that.
If I have the following c