When I decompile and export dll then [CompilerGenerated] code gets inserted,unable to compile in VS

When I decompile and export dll then following [CompilerGenerated] code gets inserted which I am unable to compile in Visual Studio 2017
[CompilerGenerated]private static class <>o__12{public static CallSite<Func<CallSite, object, bool, object>> <>p__0;}

Also methodof keyword gets inserted in C# source code.

How can I manage this code and retrieve complete source code.

Also can I decompile and export multiple dll's all at once.
Tagged:

Answers

  • Russell DRussell D Posts: 1,324 Diamond 5
    edited November 19, 2018 11:23AM
    Reflector does not guarantee compilable source code. It's making translation based best guesses. If you're experiencing errors in translation we would need the dll/IL to investigate.

    You can't export multiple dlls at once.
    Have you visited our Help Centre?
Sign In or Register to comment.