[Mono-bugs] [Bug 631304] New: Cecil shows exception in MonoDevelop, while browsing definition for Environment.GetLogicalDrives()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Aug 15 04:22:21 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=631304

http://bugzilla.novell.com/show_bug.cgi?id=631304#c0


           Summary: Cecil shows exception in MonoDevelop, while browsing
                    definition for Environment.GetLogicalDrives()
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: x86
        OS/Version: Windows Vista
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Cecil
        AssignedTo: jbevain at novell.com
        ReportedBy: martin.kunc at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other
           Blocker: No


Description of Problem:
While I was in Assembly browser in MonoDevelop, I wanted to see
Environment.GetLogicalDrives() source, but see exception instead:
Decompilation failed: 
System.NotImplementedException: IL_0069: ldelema System.Char
   at Cecil.Decompiler.Cil.BaseInstructionVisitor.OnLdelema(Instruction
instruction)
   at Cecil.Decompiler.Cil.InstructionDispatcher.Dispatch(Instruction
instruction, IInstructionVisitor visitor)
   at Cecil.Decompiler.Cil.BaseInstructionVisitor.Visit(Instruction
instruction)
   at Cecil.Decompiler.StatementDecompiler.ProcessInstruction(Instruction
instruction)
   at Cecil.Decompiler.StatementDecompiler.ProcessInstructions(InstructionBlock
block)
   at Cecil.Decompiler.StatementDecompiler.ProcessBlock(InstructionBlock block)
   at Cecil.Decompiler.StatementDecompiler.ProcessBlocks()
   at Cecil.Decompiler.StatementDecompiler.Run()
   at Cecil.Decompiler.StatementDecompiler.Process(DecompilationContext
context, BlockStatement body)
   at Cecil.Decompiler.DecompilationPipeline.Run(MethodBody body)
   at Cecil.Decompiler.Extensions.RunPipeline(DecompilationPipeline pipeline,
MethodBody body)
   at Cecil.Decompiler.Extensions.Decompile(MethodBody body, ILanguage
language)
   at Cecil.Decompiler.Languages.CSharpWriter.Write(MethodDefinition method)
   at MonoDevelop.AssemblyBrowser.DomMethodNodeBuilder.Decompile(DomCecilMethod
method, Boolean markup)

Steps to reproduce the problem:
See above..


Actual Results:
Exception

Expected Results:
See source of selected method.

How often does this happen? 
Always.

Additional Information:
MonoDevelop version: 2.4
Mono.Cecil: 0.6.9.0
Cecil.Decompiler: 0.1.0.0

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list