When is a try catch not a try catch?
- by Dearmash
I have a fun issue where during application shutdown, try / catch blocks are being seemingly ignored in the stack.
I don't have a working test project (yet due to deadline, otherwise I'd totally try to repro this), but consider the following code snippet.
public static string RunAndPossiblyThrow(int index, bool doThrow)
{
try
{
…