[Mono-bugs] [Bug 475814] New: mdoc update fails with --exceptions=depasm

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 13 13:49:14 EST 2009


           Summary: mdoc update fails with --exceptions=depasm
    Classification: Mono
           Product: Mono: Doctools
           Version: SVN
          Platform: 64bit
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Console
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: daniel at hofmannmail.ath.cx
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:
Gecko/2009020407 Iceweasel/3.0.6 (Debian-3.0.6-1)

mdoc update fails with --exceptions=depasm when somehow using a
multidimensional array ..

Well .. it definitely has to do something with the multidimensional array ..
but I guess the testcase explains better than I do:

public class Test {
    public static void Main ()
        int [,] someMultiDimensionalArray = new int [5,5];
        someMultiDimensionalArray[1,2] = (int)System.Math.Abs (3.1415928653);

Reproducible: Always

Steps to Reproduce:
1. gmcs test.cs
2. mkdir output
3. mdoc update --exceptions=depasm -o output test.exe
Actual Results:  
mdoc: System.InvalidOperationException: Operation is not valid due to the
current state of the object
  at System.Linq.Enumerable.First[MethodDefinition] (IEnumerable`1 source)
  at Mono.Documentation.CecilExtensions.EnsureOne[MethodDefinition]
(IEnumerable`1 source) [0x00000] 
  at Mono.Documentation.CecilExtensions.GetMethodDefinition
(Mono.Cecil.MethodReference method) [0x00000] 
  at Mono.Documentation.CecilExtensions.GetDefinition (IMemberReference member)
  at Mono.Documentation.ExceptionLookup.get_Item (IMemberReference member)
  at Mono.Documentation.ExceptionLookup.FillExceptions
(Mono.Cecil.Cil.MethodBody body, System.Collections.Generic.Dictionary`2
exceptions) [0x00000] 
  at Mono.Documentation.ExceptionLookup.get_Item (IMemberReference member)
  at Mono.Documentation.MDocUpdater.UpdateExceptions (System.Xml.XmlNode docs,
IMemberReference member) [0x00000] 
  at Mono.Documentation.MDocUpdater.MakeDocNode
(Mono.Documentation.DocsNodeInfo info) [0x00000] 
  at Mono.Documentation.MDocUpdater.UpdateMember
(Mono.Documentation.DocsNodeInfo info) [0x00000] 
  at Mono.Documentation.MDocUpdater.DoUpdateType2 (System.String message,
System.Xml.XmlDocument basefile, Mono.Cecil.TypeDefinition type, System.String
output, Boolean insertSince, System.Xml.XmlReader ecmaDocsType) [0x00000] 
  at Mono.Documentation.MDocUpdater.DoUpdateType (Mono.Cecil.TypeDefinition
type, System.String basepath, System.String dest, System.Xml.XmlReader
ecmaDocsType) [0x00000] 
  at Mono.Documentation.MDocUpdater.DoUpdateAssembly
(Mono.Cecil.AssemblyDefinition assembly, System.Xml.XmlElement index_types,
System.String source, System.String dest, System.Collections.Generic.HashSet`1
goodfiles) [0x00000] 
  at Mono.Documentation.MDocUpdater.DoUpdateAssemblies (System.String source,
System.String dest) [0x00000] 
  at Mono.Documentation.MDocUpdater.Run (IEnumerable`1 args) [0x00000] 
  at Mono.Documentation.MDoc.Run (System.String[] args) [0x00000] 
  at Mono.Documentation.MDoc.Main (System.String[] args) [0x00000] 

Expected Results:  
no exception

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

More information about the mono-bugs mailing list