Thread: RemoveUnused
View Single Post
  #1  
Old 05-23-2026, 01:01
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 980
Rept. Given: 83
Rept. Rcvd 680 Times in 290 Posts
Thanks Given: 79
Thanks Rcvd at 3,997 Times in 767 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)