For the following app compiled with runtime-async off
publicclassProgram{publicstaticasyncTaskMain(){thrownewException("exception from Main");}}The CoreCLR stack trace is as follows:
Unhandled exception. System.Exception: exception from Main
at Program.<Main>()
And the NAOT stack trace is as follows:
Unhandled exception. System.Exception: exception from Main
at Program.<Main>d__0.MoveNext()
--- End of stack trace from previous location ---
at Program.<Main>()
Note especially the extraneous --- End of stack trace from previous location ---
For the following app compiled with runtime-async off
The CoreCLR stack trace is as follows:
And the NAOT stack trace is as follows:
Note especially the extraneous
--- End of stack trace from previous location ---