Pete2019 said:
Confirmed, the latest 11.1.0.2167 has serious bug, basically cannot decompile anything with generic implemented. After update to latest Visual Studio 2022 service pack, the reflector 11.1.0.2167 produces the errors with pretty much all dll files, this application not usable anymore. Please use Jetbrains dotPeek instead. Here is an example: System.Reflection.TargetInvocationException
Caused by:
Malformed function pointer signature.
System.NotSupportedException
at Reflector.CodeModel.Assembly.Module.ReadFunctionPointer(ByteArrayReader reader, IGenericArgumentProvider genericType, IGenericArgumentProvider genericMethod)
at Reflector.CodeModel.Assembly.Module.ReadTypeSignature(ByteArrayReader reader, IGenericArgumentProvider genericType, IGenericArgumentProvider genericMethod, Boolean& pinned) pro apk
at Reflector.CodeModel.Assembly.Module.ReadTypeSignature(ByteArrayReader reader, IGenericArgumentProvider genericType, IGenericArgumentProvider genericMethod)
at Reflector.CodeModel.Assembly.FieldDeclaration..ctor(TypeDeclaration declaringType, UInt16 flags, Int32 name, Int32 signature)
at Reflector.CodeModel.Assembly.Module.DecodeTypeDeclarationTable()
at Reflector.CodeModel.Assembly.Module.DecodeMetaData()
at Reflector.CodeModel.Assembly.Module.get_Types()
at Reflector.CodeModel.Assembly.Equality.ResolveTypeReference(ITypeReference typeReference, HashSet`1 alreadyChecked)
at Reflector.CodeModel.Assembly.TypeReference.Resolve(HashSet`1 alreadyChecked)
at Reflector.CodeModel.Assembly.Equality.ResolveTypeReference(ITypeReference typeReference, HashSet`1 alreadyChecked)
at Reflector.CodeModel.Assembly.TypeReference.Resolve(HashSet`1 alreadyChecked)
at Reflector.CodeModel.Assembly.CustomAttribute.GetUnderlyingFieldType(IType value)
at Reflector.CodeModel.Assembly.CustomAttribute.ReadValue(ByteArrayReader reader, IType type)
at Reflector.CodeModel.Assembly.CustomAttribute.get_Arguments()
at Reflector.CodeModel.Visitor.Cloner.TransformCustomAttribute(ICustomAttribute value)
at Reflector.CodeModel.Visitor.Transformer.TransformCustomAttributeCollection(ICustomAttributeCollection attributes)
at Reflector.CodeModel.Visitor.Cloner.TransformTypeDeclaration(ITypeDeclaration value)
at Reflector.CodeModel.Visitor.Transformer.TransformTypeDeclarationCollection(ITypeDeclarationCollection value)
at Reflector.CodeModel.Visitor.Cloner.TransformTypeDeclaration(ITypeDeclaration value)
at Reflector.Disassembler.Disassembler.TransformTypeDeclaration(ITypeDeclaration value)
at Reflector.CodeModel.Visitor.Transformer.TransformTypeDeclarationCollection(ITypeDeclarationCollection value)
at Reflector.Disassembler.Disassembler.TransformNamespace(INamespace value)
at Reflector.Application.Translator.TranslateNamespace(INamespace value, Boolean memberDeclarationList)
at Reflector.Application.UserInterface.DisassemblerWindow.Render(Boolean expandTypes, Boolean expandMethods)
It seems like version 11.1.0.2167 of Reflector has a critical bug that prevents decompiling assemblies with generics. The issue results in errors, including System.NotSupportedException: Malformed function pointer signature . After updating to the latest Visual Studio 2022 service pack, this version becomes unusable for most DLLs. For now, I recommend switching to JetBrains dotPeek, which is more reliable. Here's an example of the error encountered with Reflector: plaintextCopy codeSystem.Reflection.TargetInvocationException: Malformed function pointer signature.
System.NotSupportedException ...
dotPeek should provide a better decompiling experience until Reflector gets patched. / comments
- Community
- .NET Reflector
- Bug in assembly resource decompilation
Pete2019 said:
Confirmed, the latest 11.1.0.2167 has serious bug, basically cannot decompile anything with generic implemented. After update to latest Visual Studio 2022 service pack, the ref...
0 votes