Skip to content
A tool whose purpose is to transform C# generated from a DLL so that it can then be determined if two DLLs are semantically identical.
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Logic
Runner
Tests
.gitignore
GeneratedCodeCleaner.sln
GeneratedCodeCleaner.sln.DotSettings
LICENSE
README.md

README.md

CodeCleanser

A tool whose purpose is to transform C# code generated from a DLL so that it can then be determined if two DLLs are semantically identical.

Usage

Run CodeCleanser on each directory you wish to compare and fire up your favorite compare tool afterward - CodeCleanser will also explore sub directories.

CodeCleanser <directory-path>

This tool has been built around a single use case. The code was decompiled using dotPeek and I only needed to remove the comments at the top of the files and sort the Attributes by alphabetical order.

This project is harnessing the power of Roslyn.

You can’t perform that action at this time.