My goal is to decompile a C# libarabry and compare it to the source code of the same library in Github. I would like to research whether the given source code (after decompiling) is equal to the source code in Github.
I've used ILSpy to try to achieve this goal. I've download and decomplied the libarary "FluentScheduler" (v 5.5.1) - Nuget link: https://www.nuget.org/packages/FluentScheduler/
And I compared the given source code (in my case, I took MonthUnit.cs file) to the same one on Github (same version as well).
Github link:
I noticed the code is pretty similar, but not exactly, for example:
Is there any way to play with ILSpy conf to remove unnecessary parenthesis? one-liners? make it similar to the Github source code with an exact match? If not, should I use another tool that will decompile the file and result in the same result as Github?
Thanks a lot!