When reading a stack trace like:
[FormatException: Input string was not in a correct format.]
System.Number.Strin
It means:
it’s an offset into the native instructions for the method.
Read this for more details.
Simply said, a Stack Trace is a reverse chronological listing of functions/methods in a flow, till current code. That is, up until a breakpoint is hit or an exception occurs.
On top of the stack trace listing, is the current method and its details like the Class, Assembly, filename, etc.
Following lines, list the method from where the previous method (one in the above line) was called. Going down the list, this continues to show the call stack, all the way back to the start of the program.
All these details from Stack Trace is beneficial, as it lists the origin of a method call and the intermediate methods/functions till it reached the current line of code. This is very much helpful because, if there are multiple ways to access the current method, Stack Track lists the exact flow followed.
I believe they're offsets into the code of the method - whether IL or JIT-compiled-assembly bytes, I'm not sure...
(Basically they're taking the place of line numbers, which of course aren't available without the pdbs.)
it is the byte offset into native code.
With ILDASM you know why.