Detect ongoing .NET exceptions
Sometimes it can be useful to detect if an exception is ongoing.
For instance, in a Dispose() method, it's valuable to ascertain if an exception is already in progress to avoid throwing a new exception and losing the original one.
Problem encountered...
gilles.tourreau.fr3 min read