Why does the high part of the stack (in Exception.StackTrace) gets truncated? Let\'s see a simple example:
public void ExternalMethod()
{
InternalMethod();
}
I know that in a catch block if you do throw ex;
it truncates the stack trace at that point. It's possible that it's "by design" for throw since just throw;
doesn't truncate the stack in a catch. Same may be going on here since you're throwing a new exception.
What happens if you cause an actual exception (i.e. int i = 100/0;
)? Is the stack trace still truncated?