Repository navigation
Add access to exception instance on stack - #134883
Conversation
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
|
@copilot Can you check the behavior for exceptions that do not inherit from Exception? |
…etCurrentException Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
I checked. CoreCLR and NativeAOT behaved differently, so I changed NativeAOT to match CoreCLR (0632034):
I also documented this in the API remarks and added a test that throws a string from a |
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Updated the behavior so |
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>

Fixes #89724