ILAssembler icon indicating copy to clipboard operation
ILAssembler copied to clipboard

ILAsm-like DSL for PowerShell

Results 15 ILAssembler issues
Sort by recently updated
recently updated
newest added

- [ ] Variables from `.locals` - [ ] Tool tips for opcodes - [ ] `calli` calling convention completion - [ ] `init` keyword completion in `.locals` - [...

enhancement

e.g. `ldc.i4.s 'c'` would be translated to `ldc.i4.s 99`

enhancement

Incredibly useful for testing p/invoke without having to throw together a quick `Add-Type` ~~(plus no `unsafe` with `Add-Type` afaik).~~ (**Edit:** there is)

question

```powershell $longToBytes = il { [byte[]]([long]) } { .locals init { [Span[byte]] $span } ldarga.s 0 sizeof { [long] } call { [Span[byte]] [Runtime.InteropServices.MemoryMarshal]::CreateSpan([g[byte]], [ref] [byte], [int]) } stloc.auto $span...

enhancement