[Mono-bugs] [Bug 346419] New: Type.Name returns incorrect string for non-vector arrays

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 6 01:33:24 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=346419


           Summary: Type.Name returns incorrect string for non-vector arrays
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: jeroen at sumatra.nl
         QAContact: mono-bugs at ximian.com
          Found By: ---


This program prints "String[]" on Mono, but should print "String[*]":

using System;

class Test
{
  static void Main()
  {
    object obj = Array.CreateInstance(typeof(string), new int[] { 1 }, new
int[] { 1 });
    Console.WriteLine(obj.GetType().Name);
  }
}


-- 
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