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

Implement IProjectFileWriter in a class #3151

Closed
Reokodoku opened this issue Jan 1, 2024 · 0 comments
Closed

Implement IProjectFileWriter in a class #3151

Reokodoku opened this issue Jan 1, 2024 · 0 comments
Labels
Enhancement Areas for improvement

Comments

@Reokodoku
Copy link

Is your feature request related to a problem? Please describe.
To decompile an assembly I am trying to use only the decompiler library of ILSpy. If necessary I override methods, I create classes, etc... but in the WholeProjectDecompiler I cannot create a custom .csproj file, because I cannot create a class that implements IProjectFileWriter (and pass it to the constructor) nor override the two existing classes that implements the interface (because both have the sealed modifier).

I tried to modify the decompiler’s source code myself but randomly the decompilation time increased a lot.

Describe the solution you'd like
It would be convenient to make the interface IProjectFileWriter public and add a parameter with the interface type to the WholeProjectDecompiler constructor to pass the desired class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Areas for improvement
Projects
None yet
Development

No branches or pull requests

1 participant