Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to pass a closure #45

Open
SeeminglyScience opened this issue Oct 19, 2020 · 0 comments
Open

Add ability to pass a closure #45

SeeminglyScience opened this issue Oct 19, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@SeeminglyScience
Copy link
Owner

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
   }
@SeeminglyScience SeeminglyScience added the enhancement New feature or request label Oct 19, 2020
@SeeminglyScience SeeminglyScience added this to the Future milestone Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant