BrokenEvent.ILStrip is C# Assembly unused classes/references/resources cleaner.


  • Used/unused classes analysis.
  • Unused classes cleanup.
  • Unused references clanup.
  • Unused resources cleanup.
  • Custom entry points for types that don't refernced, but should remain.
  • Hide private types with internal access modifier.
  • WPF/BAML support.


The main goal is to filter .NET assemblies from unused classes after merging with ILRepack. It will not optimize your code or somehow change its behavior, but will erase all that is not used in current assembly.

ILStrip works only on class level. If class is used somehow, all its members will remain even if they are not used.

See more detailed explanation on GitHub.