How Glass reconstructs a C# switch statement from an IL jump table
A C# switch over a dense integer range does not compile to a chain of comparisons — it compiles to a single switch IL opcode carrying a table of branch targets, indexed by the switch value. This walks through what that jump table looks like, how the compiler normalizes the value by subtracting the minimum case, why sparse switches become binary-search if/else chains instead, and how Glass.NET turns the resulting tangle of gotos back into a clean switch (x) { case 10: ... }.
