Skip to content
Discussion options

You must be logged in to vote

Depends on what you want to do. If you are creating a custom CSharpDecompiler or WholeProjectDecompiler, you can configure the TextWriter that is used.

For WholeProjectDecompiler: override CreateFile. (I think you added that, thanks!)
For CSharpDecompiler: do not use the convenience Decompile...AsString methods, use the SyntaxTree instead and call the CSharpOutputVisitor directly with a custom TextWriter.

If you want to make this easier to use, PRs welcome! :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ds5678
Comment options

Answer selected by ds5678
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants