I'm confused by a callstack a customer sent me. The customer's version is, of course, a release build, but the line number of the exception just doesn't make sense.
Just now I noticed that there is a #if DEBUG...#endif block above the specified line number.
Is this block removed by/for the compiler, resulting in a different line number between debug and release builds, if there is a #if DEBUG...#endif block somewhere in the code aobve the specified location?