✅ How does this code call System.Text.StringBuilder.ToString?
I've grabbed stacks of my program at runtime and I can see it in the PersistSettings method and then above that on the stack is System.Text.StringBuilder.ToString. Can anyone tell where that method could be inserted by the compiler?
4 Replies
That method cannot be inserted by the compiler
Are you certain you're not just seeing the effects of inlining?
@333fred that could be happening. Is there a good way to tell from the dll?
That is a runtime thing
The DLL has nothing to do with it
@333fred gotcha. I don't see any super shallow paths where it could be inlined but I'm not sure how else it could occur