Skip to content

Instantly share code, notes, and snippets.

@danmoseley
Last active October 21, 2019 03:30
Show Gist options
  • Save danmoseley/2ffd883ec3d553427d2fc057be8efa16 to your computer and use it in GitHub Desktop.
Save danmoseley/2ffd883ec3d553427d2fc057be8efa16 to your computer and use it in GitHub Desktop.
System.InvalidOperationException: <some regular exception>
at _1.Program.<>c.<Main>b__0_0() in C:\proj\30\ConsoleApp1\Program.cs:line 21
at _1.Program.Wrap(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 69
System.AggregateException: <aggmsg> (<outer1msg> (Parameter 'myarg')) (<outer2msg>)
____________________________________________________________________________________________________
|System.ArgumentException: <outer1msg> (Parameter 'myarg')
| at _1.Program.F(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 177
| at _1.Program.E(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 170
| at _1.Program.D(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 160
| at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 63
| at _1.Program.C(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 152
| at _1.Program.B(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 140
| at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 63
| at _1.Program.A(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 132
| at _1.Program.Caller(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 127
| at _1.Program.OuterCaller(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 114
\____________________________________________________________________________________________________
____________________________________________________________________________________________________
|System.InvalidCastException: <outer2msg>
| ____________________________________________________________________________________________________
| |System.IO.FileNotFoundException: <inner2msg>
| |File name: 'foo.txt'
| | at _1.Program.Something(String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 184
| | at _1.Program.F(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 178
| | at _1.Program.E(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 170
| | at _1.Program.D(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 160
| | at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 63
| | at _1.Program.C(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 152
| | at _1.Program.B(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 140
| | at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 63
| | at _1.Program.A(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 132
| | at _1.Program.Caller(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 127
| | at _1.Program.OuterCaller(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 114
| \____________________________________________________________________________________________________
| at _1.Program.MethodAsync(String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 190
| at _1.Program.MethodAsync(String msg, Int32 v0) in C:\proj\30\ConsoleApp1\Program.cs:line 189
| at _1.Program.MethodAsync(String msg, Int32 v0, Int32 v1) in C:\proj\30\ConsoleApp1\Program.cs:line 188
| at _1.Program.MethodAsync(String msg, Int32 v0, Int32 v1, Int32 v2) in C:\proj\30\ConsoleApp1\Program.cs:line 187
| at _1.Program.MethodAsync(String msg, Int32 v0, Int32 v1, Int32 v2, Int32 v3) in C:\proj\30\ConsoleApp1\Program.cs:line 186
| at _1.Program.OuterCaller(String type, String msg) in C:\proj\30\ConsoleApp1\Program.cs:line 110
\____________________________________________________________________________________________________
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
____________________________________________________________________________________________________
|System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
| ____________________________________________________________________________________________________
| |System.TypeInitializationException: The type initializer for 'SslMethods' threw an exception.
| | ____________________________________________________________________________________________________
| | |System.TypeInitializationException: The type initializer for 'Ssl' threw an exception.
| | | ____________________________________________________________________________________________________
| | | |System.TypeInitializationException: The type initializer for 'SslInitializer' threw an exception.
| | | | ____________________________________________________________________________________________________
| | | | |_1.Interop+Crypto+OpenSslCryptographicException: error:25070067:DSO support routines:DSO_load:could not load the shared library
| | | | | at _1.Program.<>c.<Main>b__0_1() in C:\proj\30\ConsoleApp1\Program.cs:line 38
| | | | | at _1.Program.Wrap(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 69
| | | | \____________________________________________________________________________________________________
| | | | at _1.Program.<>c.<Main>b__0_2() in C:\proj\30\ConsoleApp1\Program.cs:line 39
| | | | at _1.Program.CCC(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 101
| | | | at _1.Program.BBB(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 99
| | | | at _1.Program.AAA(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 97
| | | | at _1.Program.Wrap(Exception inner, Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 85
| | | \____________________________________________________________________________________________________
| | | at _1.Program.<>c.<Main>b__0_3() in C:\proj\30\ConsoleApp1\Program.cs:line 40
| | | at _1.Program.CCC(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 101
| | | at _1.Program.BBB(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 99
| | | at _1.Program.AAA(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 97
| | | at _1.Program.Wrap(Exception inner, Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 85
| | \____________________________________________________________________________________________________
| | at _1.Program.<>c.<Main>b__0_4() in C:\proj\30\ConsoleApp1\Program.cs:line 41
| | at _1.Program.CCC(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 101
| | at _1.Program.BBB(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 99
| | at _1.Program.AAA(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 97
| | at _1.Program.Wrap(Exception inner, Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 85
| \____________________________________________________________________________________________________
| at _1.Program.<>c.<Main>b__0_5() in C:\proj\30\ConsoleApp1\Program.cs:line 42
| at _1.Program.CCC(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 101
| at _1.Program.BBB(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 99
| at _1.Program.AAA(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 97
| at _1.Program.Wrap(Exception inner, Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 85
\____________________________________________________________________________________________________
at _1.Program.<>c.<Main>b__0_6() in C:\proj\30\ConsoleApp1\Program.cs:line 43
at _1.Program.CCC(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 101
at _1.Program.BBB(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 99
at _1.Program.AAA(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 97
at _1.Program.Wrap(Exception inner, Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 85
System.Runtime.InteropServices.ExternalException (0x80004005): <eemsg>
____________________________________________________________________________________________________
|System.Runtime.InteropServices.COMException (0x80004005): <cemsg>
| ____________________________________________________________________________________________________
| |System.BadImageFormatException: Bad IL format. The format of the file 'c:\windows\system32\kernelbase.dll' is invalid.
| | ____________________________________________________________________________________________________
| | |System.IO.FileLoadException: <flemsg>
| | |File name: 'c:\some\file'
| | | ____________________________________________________________________________________________________
| | | |System.IO.FileNotFoundException: Could not load file or assembly 'c:\non\existent\file.dll'. The system cannot find the path specified.
| | | | ____________________________________________________________________________________________________
| | | | |System.IO.FileLoadException: Could not load file or assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
| | | | | at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
| | | | | at System.Runtime.Loader.AssemblyLoadContext.InternalLoadFromPath(String assemblyPath, String nativeImagePath) in C:\git\coreclr\src\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.CoreCLR.cs:line 38
| | | | | at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Runtime\Loader\AssemblyLoadContext.cs:line 309
| | | | | at System.Reflection.Assembly.LoadFrom(String assemblyFile) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Reflection\Assembly.cs:line 321
| | | | | at _1.Program.<>c.<Main>b__0_10() in C:\proj\30\ConsoleApp1\Program.cs:line 56
| | | | | at _1.Program.Wrap(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 69
| | | | \____________________________________________________________________________________________________
| | | | at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
| | | | at System.Runtime.Loader.AssemblyLoadContext.InternalLoadFromPath(String assemblyPath, String nativeImagePath) in C:\git\coreclr\src\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.CoreCLR.cs:line 38
| | | | at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Runtime\Loader\AssemblyLoadContext.cs:line 309
| | | | at System.Reflection.Assembly.LoadFrom(String assemblyFile) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Reflection\Assembly.cs:line 321
| | | | at _1.Program.<>c.<Main>b__0_13() in C:\proj\30\ConsoleApp1\Program.cs:line 55
| | | | at _1.Program.CCC(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 101
| | | | at _1.Program.<>c.<Main>b__0_9() in C:\proj\30\ConsoleApp1\Program.cs:line 55
| | | | at _1.Program.Wrap(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 69
| | | \____________________________________________________________________________________________________
| | | at _1.Program.<>c.<Main>b__0_12() in C:\proj\30\ConsoleApp1\Program.cs:line 54
| | | at _1.Program.CCC(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 101
| | | at _1.Program.<>c.<Main>b__0_8() in C:\proj\30\ConsoleApp1\Program.cs:line 54
| | | at _1.Program.Wrap(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 69
| | \____________________________________________________________________________________________________
| | at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
| | at System.Runtime.Loader.AssemblyLoadContext.InternalLoadFromPath(String assemblyPath, String nativeImagePath) in C:\git\coreclr\src\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.CoreCLR.cs:line 38
| | at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Runtime\Loader\AssemblyLoadContext.cs:line 309
| | at System.Reflection.Assembly.LoadFrom(String assemblyFile) in C:\git\coreclr\src\System.Private.CoreLib\shared\System\Reflection\Assembly.cs:line 321
| | at _1.Program.<>c.<Main>b__0_11() in C:\proj\30\ConsoleApp1\Program.cs:line 52
| | at _1.Program.CCC(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 101
| | at _1.Program.<>c.<Main>b__0_7() in C:\proj\30\ConsoleApp1\Program.cs:line 52
| | at _1.Program.Wrap(Action cb) in C:\proj\30\ConsoleApp1\Program.cs:line 69
| \____________________________________________________________________________________________________
\____________________________________________________________________________________________________
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment