I test the error handling code and try to ensure that my application and data always fail in a consistent state. I have verified that the code works with the “normal” error input methods, but I want to take another step.
What is the coolest way to kill a .NET thread, giving the least chance for error handling to do its job?
Think, for example, how would you test the CLR Constrained Execution Regions? Or how would I simulate something serious, how to pull out the plug?
source
share