SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Exception while trying to decompile

Last post 04-21-2017 3:21 PM by ledzep. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-21-2017 3:21 PM

    • ledzep
    • Not Ranked
    • Joined on 04-21-2017
    • Posts 1

    Exception while trying to decompile

    Hello

    I'm getting exception while decompilng any of the win form

    p.s. "use variable names from debug symbols, if available" is unchecked

     

     ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Windows.Forms.Label Emanet.Acma_Onay_Barkod_Form::get_DolapNoLbl()
     ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
       at Mono.Cecil.Cil.CodeReader.ReadMethodBody()
       at Mono.Cecil.Cil.CodeReader.ReadMethodBody(MethodDefinition method)
       at Mono.Cecil.MethodDefinition.<>c.<get_Body>b__33_0(MethodDefinition method, MetadataReader reader)
       at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TRet& variable, TItem item, Func`3 read)
       at Mono.Cecil.MethodDefinition.get_Body()
       at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters)
       at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDefinition methodDef, DecompilerContext context, IEnumerable`1 parameters)
       --- End of inner exception stack trace ---
       at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDefinition methodDef, DecompilerContext context, IEnumerable`1 parameters)
       at ICSharpCode.Decompiler.Ast.AstBuilder.CreateProperty(PropertyDefinition propDef)
       at ICSharpCode.Decompiler.Ast.AstBuilder.AddTypeMembers(TypeDeclaration astType, TypeDefinition typeDef)
       at ICSharpCode.Decompiler.Ast.AstBuilder.CreateType(TypeDefinition typeDef)
       at ICSharpCode.Decompiler.Ast.AstBuilder.AddType(TypeDefinition typeDef)
       at ICSharpCode.ILSpy.CSharpLanguage.DecompileType(TypeDefinition type, ITextOutput output, DecompilationOptions options)
       at ICSharpCode.ILSpy.TextView.DecompilerTextView.DecompileNodes(DecompilationContext context, ITextOutput textOutput)
       at ICSharpCode.ILSpy.TextView.DecompilerTextView.<>c__DisplayClass31_0.<DecompileAsync>b__0()

     

     

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.