Z
Zytan
Can I force a function to NEVER be inlined?
I want the call stack returned by:
System.Diagnostics.StackTrace callStack = new
System.Diagnostics.StackTrace();
to be such that:
System.Diagnostics.StackFrame frame = callStack.GetFrame(0);
is the function itself, NOT the function's caller (due to a release
build making the function inlined into its caller)!
thanks!
Zytan
I want the call stack returned by:
System.Diagnostics.StackTrace callStack = new
System.Diagnostics.StackTrace();
to be such that:
System.Diagnostics.StackFrame frame = callStack.GetFrame(0);
is the function itself, NOT the function's caller (due to a release
build making the function inlined into its caller)!
thanks!
Zytan