Why does throwing 2 exceptions in a row not generate an unreachable code warning?
It is clearly a compiler bug, and it was introduced in C# 3.0 — right around the time that I heavily refactored the reachability checker. This is probably my bad, sorry. The bug is completely benign; basically, we just forgot a case in the warning reporter. We generate the reachability information correctly; as others have … Read more