Skip to content

Accelerate decompilation process (to get usings only) #2977

Answered by dgrunwald
JiriOgurek asked this question in Help
Discussion options

You must be logged in to vote

AFAIK the C# compiler already ignores unused references (doesn't store them in the .dll), so if you don't want class-level analysis, references from the .dll should be good enough. (though note that references use assembly-granularity, where as usings are namespace-granularity)
You don't need a decompiler at all in that case; you can e.g. directly use System.Reflection.Metadata, or maybe Mono.Cecil as that tends to be easier to use.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@JiriOgurek
Comment options

@christophwille
Comment options

@JiriOgurek
Comment options

@dgrunwald
Comment options

Answer selected by JiriOgurek
@JiriOgurek
Comment options

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