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

Feature Request: IL to Emit #1015

Closed
dornfussenegger opened this issue Dec 20, 2017 · 5 comments
Closed

Feature Request: IL to Emit #1015

dornfussenegger opened this issue Dec 20, 2017 · 5 comments
Labels
Decompiler The decompiler engine itself New Feature

Comments

@dornfussenegger
Copy link

It would be very nice if the IL Spy could help writing Emit ILCodes to CS.
For ex: IL_0001: ldarg.0 should result in emitter.Emit(OpCode.ldarg0) - with the same nice output like the "IL with C#" where the code is enriched with comments of the emitted code that is written.
Of course it is not easy - espacally writing method-calls. But it would be a very helpfull tool for people that write a lot of emitted codes.
thank you!

@conwid
Copy link

conwid commented Apr 2, 2018

Hi everyone,

I though I'd give it a try and created a plugin here:
https://github.com/conwid/ILGenerationLanguage

It's still a very early alpha version, but I'm hoping that some of you might find it useful and even contribute.

@AceHack
Copy link

AceHack commented Apr 18, 2018

I am very interested in this feature

@dgrunwald
Copy link
Member

I'm not sure if this is something we want in ILSpy itself; seems like a pretty niche use case.
A plugin seems like the better choice.

@siegfriedpammer
Copy link
Member

Closing this, because this was implemented as a plugin.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Decompiler The decompiler engine itself New Feature
Projects
None yet
Development

No branches or pull requests

5 participants