Thread: RemoveUnused
View Single Post
  #1  
Old 05-23-2026, 01:01
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 943
Rept. Given: 72
Rept. Rcvd 674 Times in 287 Posts
Thanks Given: 68
Thanks Rcvd at 3,912 Times in 743 Posts
CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699
RemoveUnused

RemoveUnused:
will remove types, methods fields from a .NET assembly; it can remove nop instructions and seal classes.
It uses mono cecil library.
https://www.nuget.org/packages/mono.cecil/
Mono.Cecil 0.11.6
Attached Files
File Type: rar RemoveUnused(Exe&srcCSharp).rar (243.7 KB, 10 views)

Last edited by CodeCracker; 06-18-2026 at 05:36.
Reply With Quote
The Following 3 Users Say Thank You to CodeCracker For This Useful Post:
niculaita (05-23-2026), tonyweb (05-24-2026), wx69wx2023 (05-23-2026)