Reflector Not Decompiling 'System.Data.Entity.

2019-01-20 13:52发布

When looking at the System.Data.Entity.dll for .NET 4.0, no methods are being decompiled. I only see the method stubs. I tried re-installing reflector but it still didn't work. I am able to decompile other .NET assemblies just fine.

2条回答
等我变得足够好
2楼-- · 2019-01-20 14:19

I think your issue is that you've pointed Reflector at the metadata-only version of the assembly.

A number of assemblies are installed for use by VS 2010 that contain only the metadata, not the method's IL, of the original assembly. They did this for performance reasons and for multitargeting support.

If you check, you'll probably see that the assemblies you're looking at are under the "Reference Assemblies" directory in ProgramFiles. If you point to the same assemblies under windows\microsoft.net\framework... you'll see Reflector can disassemble this and all other BCL assemblies.

查看更多
男人必须洒脱
3楼-- · 2019-01-20 14:19

Reflector does not decompile every assembly. It will not decompile assemblies which have been obfuscated in certain ways, nor portions of mixed mode assemblies (which contain native code).

查看更多
登录 后发表回答