Thread: RemoveUnused
View Single Post
  #1  
Old 05-23-2026, 01:01
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 905
Rept. Given: 68
Rept. Rcvd 661 Times in 278 Posts
Thanks Given: 64
Thanks Rcvd at 3,820 Times in 717 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 move 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; 05-23-2026 at 09:55.
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)