查看System.Data.Entity.dll
for .NET 4.0 时,没有反编译任何方法。我只看到方法存根。我尝试重新安装反射器,但仍然无法正常工作。我能够很好地反编译其他 .NET 程序集。
问问题
1644 次
2 回答
11
我认为您的问题是您将 Reflector 指向了程序集的仅元数据版本。
安装了许多程序集供 VS 2010 使用,它们仅包含原始程序集的元数据,而不是方法的 IL。他们这样做是出于性能原因和多目标支持。
如果您检查,您可能会看到您正在查看的程序集位于 ProgramFiles 中的“参考程序集”目录下。如果您指向 windows\microsoft.net\framework... 下的相同程序集,您将看到 Reflector 可以反汇编此程序集和所有其他 BCL 程序集。
于 2010-08-03T17:52:08.130 回答
0
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).
于 2010-07-13T16:41:39.040 回答