ILAssembler
ILAssembler copied to clipboard
Add ability to pass a closure
Maybe something like:
il -Closure 'test' `
-DelegateSignature { [int]([string]) } `
-MethodSignature { [int]([object], [string]) } `
-Body {
ldarg.0
callvirt { [string] [object].ToString() }
ldarg.1
call { [string] [string]::Concat([string], [string]) }
callvirt { [int] [string].get_Length() }
ret
}