diff options
author | Ben Adams <thundercat@illyriad.co.uk> | 2018-04-14 15:38:18 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-04-14 15:38:18 +0300 |
commit | a810d53e41ad91fe21ea88fff592260639c43595 (patch) | |
tree | e8753d2f78146a9e9e8b9ee652a98ce02795eeec /mcs/tests | |
parent | 8430155946c31f0f3f5f04017eebd79ac15e566d (diff) |
Make stack traces readable (#6675)
* Make stack traces readable
* Updates the logic to work on Mono
* [symbolicate] Add support for prettified async stack traces
* Tests update
Diffstat (limited to 'mcs/tests')
-rw-r--r-- | mcs/tests/test-async-17.cs | 2 | ||||
-rw-r--r-- | mcs/tests/ver-il-net_4_x.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mcs/tests/test-async-17.cs b/mcs/tests/test-async-17.cs index 9f9720bc2bc..7826c7a1a03 100644 --- a/mcs/tests/test-async-17.cs +++ b/mcs/tests/test-async-17.cs @@ -64,7 +64,7 @@ class Tester try { await Task.Factory.StartNew (() => { throw new ArgumentException (); }).ConfigureAwait (false); } catch (ArgumentException e) { - if (e.StackTrace.Contains (".MoveNext")) + if (e.StackTrace.Contains (".MoveNext") || e.StackTrace.Contains ("TestException_7 ()")) throw new ApplicationException (); } diff --git a/mcs/tests/ver-il-net_4_x.xml b/mcs/tests/ver-il-net_4_x.xml index 4fc8adbf4ab..a2d9e1ec7ec 100644 --- a/mcs/tests/ver-il-net_4_x.xml +++ b/mcs/tests/ver-il-net_4_x.xml @@ -63639,7 +63639,7 @@ </type> <type name="Tester+<TestException_7>c__async6"> <method name="Void MoveNext()" attrs="486"> - <size>272</size> + <size>293</size> </method> </type> <type name="Tester+<TestException_3>c__async2+<TestException_3>c__async7"> |