From 2360aab8d397ed77651168418fe3a4939e9e929f Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Wed, 16 Nov 2016 17:10:08 -0800 Subject: [PATCH] [mono-symbolificate] Add test for nested type arguments and ambiguous matches. --- .../mono-symbolicate/Test/StackTraceDumper.cs | 55 ++++++++ .../Test/symbolicate.expected | 129 ++++++++++-------- 2 files changed, 124 insertions(+), 60 deletions(-) diff --git a/mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs b/mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs index 726997d2134..c1a425afc46 100644 --- a/mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs +++ b/mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs @@ -47,10 +47,23 @@ class StackTraceDumper { Catch (() => InnerGenericClass.InnerInnerGenericClass.ThrowException ("Stack trace with 2 inner generic class and generic overload")); + Catch (() => InnerGenericClass.ThrowException ("Stack trace with nested type argument", "string", null)); + Catch (() => { var d = new Dictionary (); d.ContainsKey (null); // ArgumentNullException }); + + /* + The following test include ambiguous methods we can't resolve. Testing this is hard, so I'm leaving a test behind but disabling it for the time being + In this case the ambiguous methods are: + public static void Foo (int a, bool hard_crash, GenClass arg, List zz) + public static void Foo (int a, bool hard_crash, GenClass arg, List zz) + + The are ambiguous because the only difference is the instantiation on the last parameter which we can't + figure out from a stacktrace. + */ + //Catch (() => ComplicatedTestCase.Run ()); } public static void Catch (Action action) @@ -137,6 +150,11 @@ class StackTraceDumper { throw new Exception (message); } + public static void ThrowException (string message, T1 arg, InnerGenericClass _ignore) + { + throw new Exception (message as string); + } + public class InnerInnerGenericClass { public static void ThrowException (T message) { @@ -149,4 +167,41 @@ class StackTraceDumper { } } } + + class GenClass { + public static void Foo (int a, bool hard_crash) { + GenPair.Foo (a, hard_crash, new GenClass (), new List ()); + } + } + + class GenPair { + public static void Foo (int a, bool hard_crash, GenClass arg, List zz) { + Foo (a, hard_crash, null, null); + } + + public static void Foo (int a, bool hard_crash, GenClass arg, List zz) { + Foo (a, hard_crash, null, new List ()); + } + + public static void Foo (int a, bool hard_crash, GenClass arg, List zz) { + ComplicatedTestCase.ArrayAndRef (a, new int[2], new int[2,2], ref hard_crash); + } + } + + class ComplicatedTestCase { + public static int ArrayAndRef (int a, int[] b, int[,] c, ref bool hard_crash) { + Object o = null; + for (int x = 0; x < a; ++x) + throw new Exception ("Stack trace with ambiguity"); + return 99; + } + + public static void Foo (int a, bool hard_crash) { + GenClass.Foo (a, hard_crash); + } + + public static void Run () { + Foo (10, false); + } + } } \ No newline at end of file diff --git a/mcs/tools/mono-symbolicate/Test/symbolicate.expected b/mcs/tools/mono-symbolicate/Test/symbolicate.expected index 63da2bd7c90..1ad44cec5cc 100644 --- a/mcs/tools/mono-symbolicate/Test/symbolicate.expected +++ b/mcs/tools/mono-symbolicate/Test/symbolicate.expected @@ -5,141 +5,150 @@ Stacktrace: System.Exception: Stacktrace with 2 frames at StackTraceDumper+<>c.
b__0_0 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:16 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: at StackTraceDumper+<>c.
b__0_0 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:16 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stacktrace with 3 frames - at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:83 + at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:96 at StackTraceDumper+<>c.
b__0_1 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:18 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:83 + at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:96 at StackTraceDumper+<>c.
b__0_1 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:18 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stacktrace with 4 frames - at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:83 - at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:81 + at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:96 + at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:94 at StackTraceDumper+<>c.
b__0_2 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:20 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:83 - at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:81 + at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:96 + at StackTraceDumper.ThrowException (System.String message, System.Int32 i) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:94 at StackTraceDumper+<>c.
b__0_2 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:20 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack frame with method overload using ref parameter - at StackTraceDumper.ThrowException (System.String& message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:75 + at StackTraceDumper.ThrowException (System.String& message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:88 at StackTraceDumper+<>c.
b__0_3 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:24 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper.ThrowException (System.String& message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:75 + at StackTraceDumper.ThrowException (System.String& message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:88 at StackTraceDumper+<>c.
b__0_3 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:24 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack frame with method overload using out parameter - at StackTraceDumper.ThrowException (System.String message, System.Int32& o) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:88 + at StackTraceDumper.ThrowException (System.String message, System.Int32& o) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:101 at StackTraceDumper+<>c.
b__0_4 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:29 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper.ThrowException (System.String message, System.Int32& o) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:88 + at StackTraceDumper.ThrowException (System.String message, System.Int32& o) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:101 at StackTraceDumper+<>c.
b__0_4 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:29 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack frame with 1 generic parameter - at StackTraceDumper.ThrowExceptionGeneric[T] (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:93 + at StackTraceDumper.ThrowExceptionGeneric[T] (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:106 at StackTraceDumper+<>c.
b__0_5 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:32 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper.ThrowExceptionGeneric[T] (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:93 + at StackTraceDumper.ThrowExceptionGeneric[T] (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:106 at StackTraceDumper+<>c.
b__0_5 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:32 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack frame with 2 generic parameters - at StackTraceDumper.ThrowExceptionGeneric[T1,T2] (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:113 + at StackTraceDumper.ThrowExceptionGeneric[T1,T2] (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:126 at StackTraceDumper+<>c.
b__0_6 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:34 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper.ThrowExceptionGeneric[T1,T2] (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:113 + at StackTraceDumper.ThrowExceptionGeneric[T1,T2] (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:126 at StackTraceDumper+<>c.
b__0_6 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:34 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack frame with generic method overload - at StackTraceDumper.ThrowExceptionGeneric[T] (T a1) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:98 + at StackTraceDumper.ThrowExceptionGeneric[T] (T a1) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:111 at StackTraceDumper+<>c.
b__0_7 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:36 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper.ThrowExceptionGeneric[T] (T a1) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:98 + at StackTraceDumper.ThrowExceptionGeneric[T] (T a1) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:111 at StackTraceDumper+<>c.
b__0_7 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:36 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack trace with inner class - at StackTraceDumper+InnerClass.ThrowException (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:119 + at StackTraceDumper+InnerClass.ThrowException (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:132 at StackTraceDumper+<>c.
b__0_8 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:38 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper+InnerClass.ThrowException (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:119 + at StackTraceDumper+InnerClass.ThrowException (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:132 at StackTraceDumper+<>c.
b__0_8 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:38 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack trace with inner generic class - at StackTraceDumper+InnerGenericClass`1[T].ThrowException (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:126 + at StackTraceDumper+InnerGenericClass`1[T].ThrowException (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:139 at StackTraceDumper+<>c.
b__0_9 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:40 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper+InnerGenericClass`1[T].ThrowException (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:126 + at StackTraceDumper+InnerGenericClass`1[T].ThrowException (System.String message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:139 at StackTraceDumper+<>c.
b__0_9 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:40 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Generic to string:string System.Exception: Stack trace with inner generic class and method generic parameter - at StackTraceDumper+InnerGenericClass`1[T].ThrowException (System.String message, T arg) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:132 + at StackTraceDumper+InnerGenericClass`1[T].ThrowException (System.String message, T arg) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:145 at StackTraceDumper+<>c.
b__0_10 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:42 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper+InnerGenericClass`1[T].ThrowException (System.String message, T arg) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:132 + at StackTraceDumper+InnerGenericClass`1[T].ThrowException (System.String message, T arg) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:145 at StackTraceDumper+<>c.
b__0_10 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:42 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack trace with inner generic class and generic overload - at StackTraceDumper+InnerGenericClass`1[T].ThrowException[T1] (System.String message, T1 arg) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:137 + at StackTraceDumper+InnerGenericClass`1[T].ThrowException[T1] (System.String message, T1 arg) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:150 at StackTraceDumper+<>c.
b__0_11 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:44 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper+InnerGenericClass`1[T].ThrowException[T1] (System.String message, T1 arg) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:137 + at StackTraceDumper+InnerGenericClass`1[T].ThrowException[T1] (System.String message, T1 arg) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:150 at StackTraceDumper+<>c.
b__0_11 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:44 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack trace with 2 inner generic class and generic overload - at StackTraceDumper+InnerGenericClass`1+InnerInnerGenericClass`1[T,T2].ThrowException (T message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:143 + at StackTraceDumper+InnerGenericClass`1+InnerInnerGenericClass`1[T,T2].ThrowException (T message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:161 at StackTraceDumper+<>c.
b__0_12 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:46 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper+InnerGenericClass`1+InnerInnerGenericClass`1[T,T2].ThrowException (T message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:143 + at StackTraceDumper+InnerGenericClass`1+InnerInnerGenericClass`1[T,T2].ThrowException (T message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:161 at StackTraceDumper+<>c.
b__0_12 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:46 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.Exception: Stack trace with 2 inner generic class and generic overload - at StackTraceDumper+InnerGenericClass`1+InnerInnerGenericClass`1[T,T2].ThrowException (T2 message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:148 + at StackTraceDumper+InnerGenericClass`1+InnerInnerGenericClass`1[T,T2].ThrowException (T2 message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:166 at StackTraceDumper+<>c.
b__0_13 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:48 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: - at StackTraceDumper+InnerGenericClass`1+InnerInnerGenericClass`1[T,T2].ThrowException (T2 message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:148 + at StackTraceDumper+InnerGenericClass`1+InnerInnerGenericClass`1[T,T2].ThrowException (T2 message) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:166 at StackTraceDumper+<>c.
b__0_13 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:48 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 + +System.Exception: Stack trace with nested type argument + at StackTraceDumper+InnerGenericClass`1[T].ThrowException[T1] (System.String message, T1 arg, StackTraceDumper+InnerGenericClass`1[T] _ignore) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:155 + at StackTraceDumper+<>c.
b__0_14 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:50 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 +Stacktrace: + at StackTraceDumper+InnerGenericClass`1[T].ThrowException[T1] (System.String message, T1 arg, StackTraceDumper+InnerGenericClass`1[T] _ignore) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:155 + at StackTraceDumper+<>c.
b__0_14 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:50 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 System.ArgumentNullException: Value cannot be null. Parameter name: key at System.ThrowHelper.ThrowArgumentNullException (System.ExceptionArgument argument) in mcs/class/referencesource/mscorlib/system/throwhelper.cs:80 at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) in mcs/class/referencesource/mscorlib/system/collections/generic/dictionary.cs:299 at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) in mcs/class/referencesource/mscorlib/system/collections/generic/dictionary.cs:228 - at StackTraceDumper+<>c.
b__0_14 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:52 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper+<>c.
b__0_15 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:54 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 Stacktrace: at System.ThrowHelper.ThrowArgumentNullException (System.ExceptionArgument argument) in mcs/class/referencesource/mscorlib/system/throwhelper.cs:80 at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) in mcs/class/referencesource/mscorlib/system/collections/generic/dictionary.cs:299 at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) in mcs/class/referencesource/mscorlib/system/collections/generic/dictionary.cs:228 - at StackTraceDumper+<>c.
b__0_14 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:52 - at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:59 + at StackTraceDumper+<>c.
b__0_15 () in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:54 + at StackTraceDumper.Catch (System.Action action) in mcs/tools/mono-symbolicate/Test/StackTraceDumper.cs:72 -- 2.25.1