SeeminglyScience / ILAssembler

ILAsm-like DSL for PowerShell
MIT License
16 stars 1 forks source link

Add switch support #19

Closed SeeminglyScience closed 4 years ago

SeeminglyScience commented 4 years ago

Adds a custom implementation of the FlowControlBuilder from SRM. This allows us to skip some reflection we used previously to fix up branch targets and exception regions without needing to use MethodBodyStreamEncoder. This also lets us implement the switch opcode.

Resolves #5