What do the “+n” values mean at the end of a method name in a stack trace?

后端 未结 4 683
日久生厌
日久生厌 2020-11-28 12:41

When reading a stack trace like:

[FormatException: Input string was not in a correct format.]
   System.Number.Strin         


        
4条回答
  •  Happy的楠姐
    2020-11-28 13:18

    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.)

提交回复
热议问题